hello,
I'm working with the c++ version of box2d
I want to implement custom contact filtering so that a character only collides with ground objects from above, never from below,
like in the adventures of tinger:
http://www.huesforalice.com/resource/86
but where tinger only needs to filter for the player, I would like it to work for the large number of 'enemies' as well.
I'm trying to work out the most efficient way to achieve this without needing to store a record with a value for every platform x every character.
anyone got any ideas?
cheers
mathew
cheers
mathew
I'm working with the c++ version of box2d
I want to implement custom contact filtering so that a character only collides with ground objects from above, never from below,
like in the adventures of tinger:
http://www.huesforalice.com/resource/86
but where tinger only needs to filter for the player, I would like it to work for the large number of 'enemies' as well.
I'm trying to work out the most efficient way to achieve this without needing to store a record with a value for every platform x every character.
anyone got any ideas?
cheers
mathew
cheers
mathew
