[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4762: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4764: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4765: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4766: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
Chipmunk Physics • View topic - detecting collisions only with a certain force

detecting collisions only with a certain force

Discuss new features and future development.

detecting collisions only with a certain force

Postby ashkanys » 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
ashkanys
 
Posts: 2
Joined: Sat Sep 10, 2011 5:42 pm

Re: detecting collisions only with a certain force

Postby slembcke » Fri Oct 21, 2011 9:00 am

Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
User avatar
slembcke
Site Admin
 
Posts: 4164
Joined: Tue Aug 14, 2007 7:13 pm

Re: detecting collisions only with a certain force

Postby ashkanys » Fri Oct 21, 2011 8:32 pm

Many thanks Slembcke, i'll try that
ashkanys
 
Posts: 2
Joined: Sat Sep 10, 2011 5:42 pm


Return to Features/Development

Who is online

Users browsing this forum: No registered users and 0 guests

cron