Resetting scene ?

Official forum for the Chipmunk2D Physics Library.
Post Reply
Hibouroi
Posts: 1
Joined: Thu Feb 24, 2011 1:23 pm
Contact:

Resetting scene ?

Post by Hibouroi »

Hi all !

I'm using Chipmunk for the first time and it's a really nice tool ! I have a little question. Is there any way to reset a space to its original configuration ? In my program, I first set the position of several bodies and shapes belonging to the same space then i step the space in a loop. I would like to reset the space and to get back the original bodies' and shapes' positions back to relauch my simulation in the same configuration. Is there a way to do it ? Will I have problems if I reset manually the positions of the bodies ? How should I do ?

Thanks !!

Bye.
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Resetting scene ?

Post by slembcke »

This post/thread should be helpful: http://www.slembcke.net/forums/viewtopi ... lit=#p6514
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests