From 931434de87c7727569f3ff92cf334199bd201583 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sun, 20 Jul 2014 09:15:29 +0100 Subject: fix physics sit for physical child prims --- OpenSim/Region/Physics/UbitOdePlugin/ODESitAvatar.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenSim/Region/Physics/UbitOdePlugin') diff --git a/OpenSim/Region/Physics/UbitOdePlugin/ODESitAvatar.cs b/OpenSim/Region/Physics/UbitOdePlugin/ODESitAvatar.cs index e9023c3..672212f 100644 --- a/OpenSim/Region/Physics/UbitOdePlugin/ODESitAvatar.cs +++ b/OpenSim/Region/Physics/UbitOdePlugin/ODESitAvatar.cs @@ -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); -- cgit v1.1