aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2012-02-08 15:45:44 +0000
committerUbitUmarov2012-02-08 15:45:44 +0000
commit6cc9aa30ac40ecb62870d8ecf566680a1a83d630 (patch)
treee942a969b445e417a284972f9979c9f92cd7787e
parent files need to run UbitODE in linux ( untested ) (diff)
downloadopensim-SC_OLD-6cc9aa30ac40ecb62870d8ecf566680a1a83d630.zip
opensim-SC_OLD-6cc9aa30ac40ecb62870d8ecf566680a1a83d630.tar.gz
opensim-SC_OLD-6cc9aa30ac40ecb62870d8ecf566680a1a83d630.tar.bz2
opensim-SC_OLD-6cc9aa30ac40ecb62870d8ecf566680a1a83d630.tar.xz
first change in SOP. in AddPrimShape(..) give physics the world rotation and not local offset. Currently physics interface only knows about world frame
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index ac39b6b..1696dc5 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -1539,7 +1539,8 @@ namespace OpenSim.Region.Framework.Scenes
1539 Shape, 1539 Shape,
1540 AbsolutePosition, 1540 AbsolutePosition,
1541 Scale, 1541 Scale,
1542 RotationOffset, 1542// RotationOffset,
1543 GetWorldRotation(), // physics wants world rotation
1543 RigidBody, 1544 RigidBody,
1544 m_localId); 1545 m_localId);
1545 } 1546 }
@@ -4366,7 +4367,8 @@ namespace OpenSim.Region.Framework.Scenes
4366 Shape, 4367 Shape,
4367 AbsolutePosition, 4368 AbsolutePosition,
4368 Scale, 4369 Scale,
4369 RotationOffset, 4370// RotationOffset,
4371 GetWorldRotation(), //physics wants world rotation like all other functions send
4370 UsePhysics, 4372 UsePhysics,
4371 m_localId); 4373 m_localId);
4372 4374