detecting collisions only with a certain force
Posted: Fri Oct 21, 2011 7:32 am
HI Fellows,
I develop a game on iphone that has some similitude with angry birds although different
I use space manager v0.7
i have block piled on each other and i would like to detect impacts between this blocks
i cannot add the regular callbacks for each blocks between them because they touch each other and i would have multiple continuous callbacks calls to treat that would slow down the game
i would like to detect collisions between blocks only if the impact force is over a determined threshold.
In that case if blocks fall on each other i could make them break.
I know it is possible with box2D as angry birds do it.
I would like to know if there is a similar solution with chipmunk
Many thanks and regards,
Benoit
I develop a game on iphone that has some similitude with angry birds although different
I use space manager v0.7
i have block piled on each other and i would like to detect impacts between this blocks
i cannot add the regular callbacks for each blocks between them because they touch each other and i would have multiple continuous callbacks calls to treat that would slow down the game
i would like to detect collisions between blocks only if the impact force is over a determined threshold.
In that case if blocks fall on each other i could make them break.
I know it is possible with box2D as angry birds do it.
I would like to know if there is a similar solution with chipmunk
Many thanks and regards,
Benoit