Skip to content

How should I go about having objects in different "dimensions" #930

Answered by jrouwe
Pindrought asked this question in Q&A
Discussion options

You must be logged in to vote

I think both methods are valid solutions and I can't really predict if one of them will be better than the other. If you pick method 1 and objects in different dimensions can never collide with each other then it is smart to give each dimension at least 2 broad phase trees (BroadPhaseLayer): 1 for static and 1 for dynamic. This minimizes the amount of work that the collision detection system needs to do as it can trivially disregard all other dimensions (since they're in different trees).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Pindrought
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants