diff options
author | UbitUmarov | 2017-07-03 23:38:55 +0100 |
---|---|---|
committer | UbitUmarov | 2017-07-03 23:38:55 +0100 |
commit | 1dc56eb15f25748cc7d4df21a5dc2992332aa504 (patch) | |
tree | 6f02a16cd01c5e3a446b0b18e9146efd623d970c /OpenSim/Region | |
parent | ubOde: dont do avatar step climb on small true spheres. lets play simple foot... (diff) | |
download | opensim-SC-1dc56eb15f25748cc7d4df21a5dc2992332aa504.zip opensim-SC-1dc56eb15f25748cc7d4df21a5dc2992332aa504.tar.gz opensim-SC-1dc56eb15f25748cc7d4df21a5dc2992332aa504.tar.bz2 opensim-SC-1dc56eb15f25748cc7d4df21a5dc2992332aa504.tar.xz |
ubOde: but only do that if sphere is physical..
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/PhysicsModules/ubOde/ODECharacter.cs | 2 |
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; |