deleted a bit 2 much on last commit
parent
49884b94a7
commit
006c08886a
|
@ -3380,6 +3380,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde
|
|||
enableBodySoft();
|
||||
else if (!d.BodyIsEnabled(Body))
|
||||
d.BodyEnable(Body);
|
||||
d.BodySetLinearVel(Body, newVel.X, newVel.Y, newVel.Z);
|
||||
}
|
||||
//resetCollisionAccounting();
|
||||
}
|
||||
|
@ -3403,6 +3404,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde
|
|||
enableBodySoft();
|
||||
else if (!d.BodyIsEnabled(Body))
|
||||
d.BodyEnable(Body);
|
||||
d.BodySetAngularVel(Body, newAngVel.X, newAngVel.Y, newAngVel.Z);
|
||||
}
|
||||
//resetCollisionAccounting();
|
||||
}
|
||||
|
|
|
@ -727,8 +727,8 @@ namespace OpenSim.Region.PhysicsModule.ubOde
|
|||
if (g1 == g2)
|
||||
return; // Can't collide with yourself
|
||||
|
||||
if (b1 != IntPtr.Zero && b2 != IntPtr.Zero && d.AreConnectedExcluding(b1, b2, d.JointType.Contact))
|
||||
return;
|
||||
// if (b1 != IntPtr.Zero && b2 != IntPtr.Zero && d.AreConnectedExcluding(b1, b2, d.JointType.Contact))
|
||||
// return;
|
||||
/*
|
||||
// debug
|
||||
PhysicsActor dp2;
|
||||
|
@ -1176,6 +1176,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde
|
|||
aprim.clearSleeperCollisions();
|
||||
}
|
||||
}
|
||||
|
||||
lock (_activegroups)
|
||||
{
|
||||
try
|
||||
|
|
Loading…
Reference in New Issue