Homebrew 4D Game Engine In Rust, inspired by Engine4D

Apply gravity to player body even though it's kinematic

The player body is kinematic (to prevent being pushed by dynamic objects) but still needs gravity for falling and jumping to work. Without gravity, the player never falls to the floor, never becomes grounded, and jump never triggers. The fix explicitly applies gravity to the player body in the physics step, treating it as a special case that needs gravity despite being kinematic. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>


Author Willow Sparks Co-author Claude Opus 4.5 Date Commit Parent c8a9e57c
+6 -3
1 changed file
+6 -3
1 changed file