ubOde: but only do that if sphere is physical..
parent
39751891f4
commit
1dc56eb15f
|
@ -944,7 +944,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (gtype == d.GeomClassID.SphereClass)
|
if (gtype == d.GeomClassID.SphereClass && d.GeomGetBody(other) != IntPtr.Zero)
|
||||||
{
|
{
|
||||||
if(d.GeomSphereGetRadius(other) < 0.5)
|
if(d.GeomSphereGetRadius(other) < 0.5)
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue