Moved collision/physics information into manifest, made real mouse cursor always invisible and use 'virtual' cursor when needed.

This commit is contained in:
2019-09-28 13:29:21 -05:00
parent e038dcbe24
commit 40d1105fb8
13 changed files with 32 additions and 30 deletions

View File

@@ -44,7 +44,7 @@ class IMICFPS
@map.entities.each do |entity|
next unless entity.collidable?
next if entity.collision == :static # Only dynamic entities can be resolved
next if entity.manifest.collision_resolution == :static # Only dynamic entities can be resolved
search = @aabb_tree.search(entity.bounding_box)
if search.size > 0