Hello,
I am working on this tutorial about using Box2D with the iPhone...
http://www.drobnik.com/touch/2010/05/ph ... r-gravity/
It works fine. essentially a bunch of colored blocks fall to the bottom of the screen.
What I would like to do is to be able to turn off the gravity for one of those blocks.
I have emailed the author of the tutorial and he said:
"to "turn off gravity" you simply change the type of the object to static."
I asked for more clarification and he said:
"Just change the value for a single physical object."
I'm lost. I have no idea how to do that or where I would do it.
Any help would be appreciated!
I am working on this tutorial about using Box2D with the iPhone...
http://www.drobnik.com/touch/2010/05/ph ... r-gravity/
It works fine. essentially a bunch of colored blocks fall to the bottom of the screen.
What I would like to do is to be able to turn off the gravity for one of those blocks.
I have emailed the author of the tutorial and he said:
"to "turn off gravity" you simply change the type of the object to static."
I asked for more clarification and he said:
"Just change the value for a single physical object."
I'm lost. I have no idea how to do that or where I would do it.
Any help would be appreciated!