Fixed some editor bugs

This commit is contained in:
2024-11-09 01:36:19 +01:00
parent 55bcb5032d
commit 2d2d63ae5a
6 changed files with 28 additions and 32 deletions

View File

@@ -210,6 +210,10 @@ physics_step :: (scene: *Scene, timestep: float) {
if e.collider.ignore continue;
if e.flags & .PHYSICS {
if e.body.check_for_grounded {
e.body.grounded = false;
}
for other_e: scene.entities {
if e == other_e continue;
if other_e.collider.ignore continue;