Changes to collider behavior

The collider now levitates above the ground, which makes small obstacles a non-issue. The raytest also helps the collider stick to staircases, so players don't jump off anymore.
Crouching now changes the collider to a smaller version, so now there is actual functionality to crouching.
I also removed the anchor from corpses of network players. I'm not entirely sure why this was done, but removing it doesn't seem to break anything.
This commit is contained in:
juanjp600
2016-11-16 21:30:49 -03:00
parent 5922fc972d
commit fac0c850a5
10 changed files with 287 additions and 147 deletions
@@ -13,7 +13,8 @@
swimspeed="2.0"
impacttolerance="7.5">
<collider height="100" radius="15"/>
<collider height="80" radius="15"/>
<collider height="40" radius="15"/>
<!-- head -->
<limb id = "0" radius="13" mass = "6" type="Head" attackpriority="2">
@@ -13,7 +13,8 @@
swimspeed="2.5"
impacttolerance="7.5">
<collider height="100" radius="15"/>
<collider height="80" radius="15"/>
<collider height="40" radius="15"/>
<!-- head -->
<limb id = "0" radius="13" mass = "6" type="Head" attackpriority="2">
+2 -1
View File
@@ -14,7 +14,8 @@
walkspeed="1.2"
swimspeed="2.5">
<collider height="100" radius="15"/>
<collider height="80" radius="15"/>
<collider height="40" radius="15"/>
<!-- head -->
<limb id = "0" radius="13" mass = "6" type="Head" attackpriority="2">