feat(character): 16.9 - char_knock, a knock-back the walker carries (never into a trunk); a landing keeps only the air's speed along the body's facing

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-27 02:07:33 +03:00
parent 3fae64f975
commit 5c50755652
5 changed files with 39 additions and 3 deletions

View file

@ -67,6 +67,7 @@ export state CharacterState {
chr_air: bool = false
chr_air_vx: float = 0.0
chr_air_vz: float = 0.0
chr_knock: float = 0.0 # a knock-back's speed up, handed to the walker on the next step
chr_land: float = 0.0 # seconds of the landing's crouch left
chr_steep: float = 0.0 # seconds of "that was too steep" left to say
chr_can_run: bool = true