DISABLED collision detection and physics

This commit is contained in:
2019-12-09 16:37:50 -06:00
parent 59334132c8
commit 75f94963b2
3 changed files with 7 additions and 6 deletions

View File

@@ -32,6 +32,7 @@ class IMICFPS
entity.velocity.y = 0
else
entity.velocity.y -= @collision_manager.map.gravity * entity.delta_time if entity.manifest.physics
entity.velocity.y = 0 if entity.velocity.y < 0
end
end
end