mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
first change in SOP. in AddPrimShape(..) give physics the world rotation and not local offset. Currently physics interface only knows about world frame
This commit is contained in:
@@ -1539,7 +1539,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
Shape,
|
||||
AbsolutePosition,
|
||||
Scale,
|
||||
RotationOffset,
|
||||
// RotationOffset,
|
||||
GetWorldRotation(), // physics wants world rotation
|
||||
RigidBody,
|
||||
m_localId);
|
||||
}
|
||||
@@ -4366,7 +4367,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
Shape,
|
||||
AbsolutePosition,
|
||||
Scale,
|
||||
RotationOffset,
|
||||
// RotationOffset,
|
||||
GetWorldRotation(), //physics wants world rotation like all other functions send
|
||||
UsePhysics,
|
||||
m_localId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user