Collision filtering techniques
Posted
by
Griffin
on Game Development
See other posts from Game Development
or by Griffin
Published on 2011-11-26T22:10:37Z
Indexed on
2011/11/27
2:03 UTC
Read the original article
Hit count: 393
I was wondering what efficient techniques are out there for mapping collision filtering between various bodies, sub-bodies, and so forth.
I'm familiar with the simple idea of having different layers of 2D bodies, but this is not sufficient for more complex mapping:
(Think of having sub-bodies of a body, such as limbs, collide with each other by placing them on the same layer, and then wanting to only have the legs collide with the ground while the arms would not)
This can be solved with a multidimensional layer setup, but I would probably end up just creating more and more layers to the point where the simplicity and efficiency of layer filtering would be gone.
Are there any more complex ways to solve even more complex situations than this?
© Game Development or respective owner