diff options
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/ODEPrim.cs')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs index 507030b..defc0ca 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | |||
@@ -53,7 +53,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
53 | private PhysicsVector m_rotationalVelocity; | 53 | private PhysicsVector m_rotationalVelocity; |
54 | private PhysicsVector _size; | 54 | private PhysicsVector _size; |
55 | private PhysicsVector _acceleration; | 55 | private PhysicsVector _acceleration; |
56 | private d.Vector3 _zeroPosition = new d.Vector3(0.0f, 0.0f, 0.0f); | 56 | // private d.Vector3 _zeroPosition = new d.Vector3(0.0f, 0.0f, 0.0f); |
57 | private Quaternion _orientation; | 57 | private Quaternion _orientation; |
58 | private PhysicsVector m_taintposition; | 58 | private PhysicsVector m_taintposition; |
59 | private PhysicsVector m_taintsize; | 59 | private PhysicsVector m_taintsize; |
@@ -1067,8 +1067,8 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1067 | } | 1067 | } |
1068 | else | 1068 | else |
1069 | { | 1069 | { |
1070 | string primScenAvatarIn = _parent_scene.whichspaceamIin(_position); | 1070 | // string primScenAvatarIn = _parent_scene.whichspaceamIin(_position); |
1071 | int[] arrayitem = _parent_scene.calculateSpaceArrayItemFromPos(_position); | 1071 | // int[] arrayitem = _parent_scene.calculateSpaceArrayItemFromPos(_position); |
1072 | _parent_scene.waitForSpaceUnlock(m_targetSpace); | 1072 | _parent_scene.waitForSpaceUnlock(m_targetSpace); |
1073 | 1073 | ||
1074 | IntPtr tempspace = _parent_scene.recalculateSpaceForGeom(prim_geom, _position, m_targetSpace); | 1074 | IntPtr tempspace = _parent_scene.recalculateSpaceForGeom(prim_geom, _position, m_targetSpace); |
@@ -1141,7 +1141,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1141 | } | 1141 | } |
1142 | //PidStatus = true; | 1142 | //PidStatus = true; |
1143 | 1143 | ||
1144 | PhysicsVector vec = new PhysicsVector(); | 1144 | // PhysicsVector vec = new PhysicsVector(); |
1145 | d.Vector3 vel = d.BodyGetLinearVel(Body); | 1145 | d.Vector3 vel = d.BodyGetLinearVel(Body); |
1146 | 1146 | ||
1147 | d.Vector3 pos = d.BodyGetPosition(Body); | 1147 | d.Vector3 pos = d.BodyGetPosition(Body); |
@@ -1201,7 +1201,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1201 | } | 1201 | } |
1202 | else | 1202 | else |
1203 | { | 1203 | { |
1204 | _zeroPosition = d.BodyGetPosition(Body); | 1204 | // _zeroPosition = d.BodyGetPosition(Body); |
1205 | return; | 1205 | return; |
1206 | } | 1206 | } |
1207 | } | 1207 | } |