ubOde: but only do that if sphere is physical..
parent
39751891f4
commit
1dc56eb15f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue