- added colliders to all monster configs

- disabling monster collider & placing it at mainlimb when stunned/dead/frozen
- monsters can't swim above water
- misc fixes
This commit is contained in:
Regalis
2016-10-17 16:32:57 +03:00
parent 704c7c7561
commit efcc466fdd
15 changed files with 118 additions and 79 deletions
@@ -7,6 +7,8 @@
<ragdoll waveamplitude="100.0" wavelength="1000" speed="1.5" scale ="2.0" flip="false" canentersubmarine="false">
<collider radius="300"/>
<!-- head -->
<limb id = "0" radius="300" type="Head" steerforce="3.0">
<sprite texture="Content/Characters/Endworm/endworm.png" sourcerect="0,478,720,546" depth="0.05"/>
@@ -18,27 +20,27 @@
</limb>
<!-- body -->
<limb id = "2" radius="300" type="Torso">
<limb id = "2" radius="300" type="Torso" steerforce="0.0">
<sprite texture="Content/Characters/Endworm/endworm.png" sourcerect="0,0,702,448" depth="0.02" origin="0.5,0.5"/>
</limb>
<limb id = "3" radius="300" type="Torso">
<limb id = "3" radius="300" type="Torso" steerforce="0.0">
<sprite texture="Content/Characters/Endworm/endworm.png" sourcerect="0,0,702,448" depth="0.03" origin="0.5,0.5"/>
</limb>
<limb id = "4" radius="300" type="Tail">
<limb id = "4" radius="300" type="Tail" steerforce="0.0">
<sprite texture="Content/Characters/Endworm/endworm.png" sourcerect="0,0,702,448" depth="0.04" origin="0.5,0.5"/>
</limb>
<limb id = "5" radius="300" type="Tail">
<limb id = "5" radius="300" type="Tail" steerforce="0.0">
<sprite texture="Content/Characters/Endworm/endworm.png" sourcerect="0,0,702,448" depth="0.05" origin="0.5,0.5"/>
</limb>
<limb id = "6" radius="300" type="Tail">
<limb id = "6" radius="300" type="Tail" steerforce="0.0">
<sprite texture="Content/Characters/Endworm/endworm.png" sourcerect="0,0,702,448" depth="0.06" origin="0.5,0.5"/>
</limb>
<limb id = "7" radius="150" type="Tail">
<limb id = "7" radius="150" type="Tail" steerforce="0.0">
<sprite texture="Content/Characters/Endworm/endworm.png" sourcerect="704,0,320,400" depth="0.07" origin="0.5,0.5"/>
</limb>