mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
fix physics sit for physical child prims
This commit is contained in:
@@ -78,11 +78,11 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||
|
||||
IntPtr geom = ((OdePrim)actor).prim_geom;
|
||||
|
||||
// Vector3 geopos = d.GeomGetPositionOMV(geom);
|
||||
// Quaternion geomOri = d.GeomGetQuaternionOMV(geom);
|
||||
Vector3 geopos = d.GeomGetPositionOMV(geom);
|
||||
Quaternion geomOri = d.GeomGetQuaternionOMV(geom);
|
||||
|
||||
Vector3 geopos = actor.Position;
|
||||
Quaternion geomOri = actor.Orientation;
|
||||
// Vector3 geopos = actor.Position;
|
||||
// Quaternion geomOri = actor.Orientation;
|
||||
|
||||
Quaternion geomInvOri = Quaternion.Conjugate(geomOri);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user