Hello, i was wondering how would i change an object from a static state to a dynamic state.
I have been told this:
"It's pretty simple actually. Create the body as normal (give it a normal mass), but do not add it to the space. Add the shape to the space as a static shape. Create a collision callback that does two things. 1) Add the body to space. 2) Remove the static shape from the space and re-add it as a normal shape."
But i am having trouble figuring out how to do this as i am used to Objective-C
Please help me with this