I guess most in this forum needs a native collision detection in the Gideros API. I know there was TNTCollision engine but now it does not work for iOS 64 bits.
Is there any possibility to build this native class? There are many collision code in C++, so I understand it is not a difficult question to integrate it within Gideros. I mean it could be a plugin but it will better to integrate as natural in Gideros API.
I usually build my own Collision class but the implementation of this methods are Lua, so slow, when I do not need physics box2d engine.
Comments
I really like Bump because it has collision resolution built-in. It doesn't handle circles (just AABBs'), and nothing is handled by it's midpoint.
Hardon Collider is damn awesome since it handles circles, points, and both convex and concave polygons which can be orientated at any angle. It has poor documentation, doesn't actually resolve collisions, and is rather slow.
A C++ version of either of these would be a fine start. I would help here but I don't do C++ unfortunately
https://deluxepixel.com
Hardon Collider, despite its rubbish name, appears to be good, I would like to hear reports about it. Reading the docs it supports polygon shapes and circles; earlier In was under the impression it could only handle non-rotated rectangles.
Likes: antix
Personally my favorite is Bump. That ones ONLY does axis aligned bounding box collision but it is very fast and has some collision resolution built-in. It's fantastic for things like platform games where there are no slopes and stuff.
Likes: totebo