fix physics sit for physical child prims

avinationmerge
UbitUmarov 2014-07-20 09:15:29 +01:00
parent 32b060a608
commit 931434de87
1 changed files with 4 additions and 4 deletions

View File

@ -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);