[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 - ChipmunkPolyShape Box Offset

ChipmunkPolyShape Box Offset

Discuss new features and future development.

ChipmunkPolyShape Box Offset

Postby cocojoe » Mon Nov 26, 2012 7:45 am

cocojoe
 
Posts: 13
Joined: Thu Mar 08, 2012 8:56 am

Re: ChipmunkPolyShape Box Offset

Postby slembcke » Mon Nov 26, 2012 1:33 pm

There is an alternate version that allows you to specify a bounding body instead of just width/height. It wasn't there originally because the box creation method was just a convenience method to create a four sided polygon for you. Creating a centered box was the most common usage, so I did that first.
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


Return to Features/Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron