An octree implementation intended for faster level vs entity (box vs triangles) collision. May or may not work correctly. On my limited testing, improved performance greatly (allowing for two orders of magnitude more boxes). On "test" folder is a very limited demonstration. Code is not particularly well-written and was worked upon with large intervals inbetween. "TriangleBoxCollision" must be defined in the global space for it to work best, you can get such a suitable function from one of my repos. Otherwise it will use its own function for this, it considers the minimum bounding box of each triangle and is very inneficient.
-
Notifications
You must be signed in to change notification settings - Fork 1
kdrnic/octree
About
An octree implementation intended for faster level vs entity (box vs triangles) collision.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published