- Enemies wander randomly if they can't find a path to a selected attack target.

- Enemies don't select hulls as targets if they're already inside.
- FishAnimController updates the walking animation even if the character is not moving (otherwise the character would just fall down if TargetMovement is zero).
- Eating anim tweaking.
This commit is contained in:
Joonas Rikkonen
2017-06-30 17:28:52 +03:00
parent bb91c8ce75
commit 3981b4efa3
3 changed files with 17 additions and 19 deletions
@@ -25,7 +25,7 @@
<collider radius="50" height="320"/>
<!-- head -->
<limb id = "0" radius="12" height="100" type="Head" steerforce="1.0" mouthpos="20,0">
<limb id = "0" radius="12" height="100" type="Head" steerforce="1.0" mouthpos="20,50">
<sprite texture="Content/Characters/Tigerthresher/tigerthresher.png" sourcerect="371,15,66,136" depth="0.02" origin ="0.5,0.5"/>
<damagedsprite texture="Content/Characters/Tigerthresher/damagedtigerthresher.png" sourcerect="371,15,66,136" origin ="0.5,0.5"/>
</limb>