Work on Falling carriage state

This commit is contained in:
2026-04-03 10:32:54 +01:00
parent 18dc469408
commit 43a5817ef3
17 changed files with 79 additions and 68 deletions
+1
View File
@@ -35,6 +35,7 @@ import Geometry.Data
data Creature = Creature
{ _crPos :: Point3
, _crOldPos :: Point3
, _crOldOldPos :: Point3
, _crZVel :: Float
, _crDir :: Float
, _crMvDir :: Float
+1 -1
View File
@@ -21,7 +21,7 @@ data Stance = Stance
data Carriage
= Walking {_strideAmount :: Float, _footForward :: FootForward}
| Floating
| Flying {_zSpeed :: Float, _flyInertia :: Float, _oldOldPos :: Point2}
| Flying {_zSpeed :: Float, _flyInertia :: Float}
| Boosting Point2
| Falling {_fallFlail :: Float, _fallFoot :: FootForward}
| OnGround