mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
ubOde: but only do that if sphere is physical..
This commit is contained in:
@@ -944,7 +944,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde
|
||||
return true;
|
||||
}
|
||||
|
||||
if (gtype == d.GeomClassID.SphereClass)
|
||||
if (gtype == d.GeomClassID.SphereClass && d.GeomGetBody(other) != IntPtr.Zero)
|
||||
{
|
||||
if(d.GeomSphereGetRadius(other) < 0.5)
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user