first change in SOP. in AddPrimShape(..) give physics the world rotation and not local offset. Currently physics interface only knows about world frame
parent
754129b903
commit
6cc9aa30ac
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue