-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Octree structure where you can insert, remove and check collision between meshes.
E.g.: Moving Sphere/Capsule:
bsp.check(Vector3 oldPosition, Vector3 newPosition, radius);
Dynamic size is a must. If a triangle point or a particule is outside the root node (AABB) we need a bigger node. Recreate the tree.
Code can be found at propan-storage
- Insert Vector3
- Find Vector3
- Add a dynamic size tree
- Use gdx Bounding Box
BB.intersect(bb) could be slower (don't use it). - Create a triangle class
- Add Triangle to libgdx
- Calculate normal in constructor
- Port the intersection algorithm
- Update Intersector?
- Test it
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels