Homebrew 4D Game Engine In Rust, inspired by Engine4D

Fix physics.gravity() to read from PhysicsConfig

Previously returned hardcoded -20, now reads from lua.app_data<PhysicsConfig>() if set, with fallback to default. Adds 2 tests for configured and default cases.


Author Willow Sparks Date Commit Parent ce09ea2e
+75 -18
2 changed files
+75 -18
2 changed files