Fixed some editor bugs
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user