first change in SOP. in AddPrimShape(..) give physics the world rotation and not local offset. Currently physics interface only knows about world frame

avinationmerge
UbitUmarov 2012-02-08 15:45:44 +00:00
parent 754129b903
commit 6cc9aa30ac
1 changed files with 4 additions and 2 deletions

View File

@ -1539,7 +1539,8 @@ namespace OpenSim.Region.Framework.Scenes
Shape, Shape,
AbsolutePosition, AbsolutePosition,
Scale, Scale,
RotationOffset, // RotationOffset,
GetWorldRotation(), // physics wants world rotation
RigidBody, RigidBody,
m_localId); m_localId);
} }
@ -4366,7 +4367,8 @@ namespace OpenSim.Region.Framework.Scenes
Shape, Shape,
AbsolutePosition, AbsolutePosition,
Scale, Scale,
RotationOffset, // RotationOffset,
GetWorldRotation(), //physics wants world rotation like all other functions send
UsePhysics, UsePhysics,
m_localId); m_localId);