mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
deleted a bit 2 much on last commit
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user