aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/PhysicsModules/ubOde
diff options
context:
space:
mode:
authorUbitUmarov2017-07-03 23:38:55 +0100
committerUbitUmarov2017-07-03 23:38:55 +0100
commit1dc56eb15f25748cc7d4df21a5dc2992332aa504 (patch)
tree6f02a16cd01c5e3a446b0b18e9146efd623d970c /OpenSim/Region/PhysicsModules/ubOde
parentubOde: dont do avatar step climb on small true spheres. lets play simple foot... (diff)
downloadopensim-SC_OLD-1dc56eb15f25748cc7d4df21a5dc2992332aa504.zip
opensim-SC_OLD-1dc56eb15f25748cc7d4df21a5dc2992332aa504.tar.gz
opensim-SC_OLD-1dc56eb15f25748cc7d4df21a5dc2992332aa504.tar.bz2
opensim-SC_OLD-1dc56eb15f25748cc7d4df21a5dc2992332aa504.tar.xz
ubOde: but only do that if sphere is physical..
Diffstat (limited to 'OpenSim/Region/PhysicsModules/ubOde')
-rw-r--r--OpenSim/Region/PhysicsModules/ubOde/ODECharacter.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODECharacter.cs b/OpenSim/Region/PhysicsModules/ubOde/ODECharacter.cs
index 3c4675c..0e46471 100644
--- a/OpenSim/Region/PhysicsModules/ubOde/ODECharacter.cs
+++ b/OpenSim/Region/PhysicsModules/ubOde/ODECharacter.cs
@@ -944,7 +944,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde
944 return true; 944 return true;
945 } 945 }
946 946
947 if (gtype == d.GeomClassID.SphereClass) 947 if (gtype == d.GeomClassID.SphereClass && d.GeomGetBody(other) != IntPtr.Zero)
948 { 948 {
949 if(d.GeomSphereGetRadius(other) < 0.5) 949 if(d.GeomSphereGetRadius(other) < 0.5)
950 return true; 950 return true;