Performance considerations for tiled static objects

Official forum for the Chipmunk2D Physics Library.
Post Reply
2D_Grabber
Posts: 2
Joined: Sun Apr 18, 2010 3:53 pm
Contact:

Performance considerations for tiled static objects

Post by 2D_Grabber »

Is there a performance penalty (apart from memory) if I build large static
objects using tiles?
i.e. big static boxes made of lots of small ones
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Performance considerations for tiled static objects

Post by slembcke »

There shouldn't be too much. Just make sure to set your static hash cell size to match the tile size and make sure there are plenty of hash cells to put them into.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
2D_Grabber
Posts: 2
Joined: Sun Apr 18, 2010 3:53 pm
Contact:

Re: Performance considerations for tiled static objects

Post by 2D_Grabber »

cool, that's what I hoped!
thx for fast reply.
I remember there were some docs about the correct hash cell size.
Will have a look.
Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests