fix physics sit for physical child prims
parent
32b060a608
commit
931434de87
|
@ -78,11 +78,11 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||||
|
|
||||||
IntPtr geom = ((OdePrim)actor).prim_geom;
|
IntPtr geom = ((OdePrim)actor).prim_geom;
|
||||||
|
|
||||||
// Vector3 geopos = d.GeomGetPositionOMV(geom);
|
Vector3 geopos = d.GeomGetPositionOMV(geom);
|
||||||
// Quaternion geomOri = d.GeomGetQuaternionOMV(geom);
|
Quaternion geomOri = d.GeomGetQuaternionOMV(geom);
|
||||||
|
|
||||||
Vector3 geopos = actor.Position;
|
// Vector3 geopos = actor.Position;
|
||||||
Quaternion geomOri = actor.Orientation;
|
// Quaternion geomOri = actor.Orientation;
|
||||||
|
|
||||||
Quaternion geomInvOri = Quaternion.Conjugate(geomOri);
|
Quaternion geomInvOri = Quaternion.Conjugate(geomOri);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue