mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 23:52:35 +00:00
Moved collision/physics information into manifest, made real mouse cursor always invisible and use 'virtual' cursor when needed.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user