Hertzole / gold-player

A first person player controller for Unity.
MIT License
160 stars 16 forks source link

Head bob happens while player is not on ground #48

Open domkalan opened 8 months ago

domkalan commented 8 months ago

Bug description: It appears that the head bob mechanic will run when the player is not touching the ground, as an example jumping off a ramp.

To reproduce: Jump off a tall object and continue to hold W key while jumping, head bob animation should continue to play.

Expected behavior: Head bob should stop and return to default position when player is falling.

Screenshots: Head bob on issuereport

Head bob off issuereport2

Desktop and versions:

Additional context: None that I can think of right now.