Something went wrong. Try again.
Homebrew 4D Game Engine In Rust, inspired by Engine4D
Something went wrong. Try again.
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 (Jan 27, 2026, 4:23 PM UTC) Commit
Copy SHA
Parent c8a9e57c c8a9e57c517589c72add81f67de01a9d54273097