Page 1 of 1

Changing size/mass

Posted: Tue Feb 17, 2009 12:12 pm
by Roybie
I was just wondering if there was an easy way to change the size and mass of a shape/body at runtime.

I know you can change the mass of the body, but the size part is probably the most important bit to me.

What would be the best way to go about it since I'm assuming deleting and remaking shapes and whatnot all the time is pretty expensive.

Cheers.

Re: Changing size/mass

Posted: Tue Feb 17, 2009 12:23 pm
by Ben
Just a couple of topics down is a thread titled 'Resizing cpShape'.

http://www.slembcke.net/forums/viewtopic.php?f=1&t=371

Re: Changing size/mass

Posted: Tue Feb 17, 2009 12:51 pm
by Roybie
How the hell did I miss that?

I'd just looked through the whole forum too. What an idiot. :P

Cheers Ben.