I've got several shapes that I would like to change from active to static objects (and vice versa) during runtime.
Is this possible with chipmunk? I've tried replacing the shapes body with a static body, but this seemed to cause crazy results.
slembcke wrote:If you want to make an object static, set it's body's velocity and rotational velocity to zero, set it's mass and moment of inertia to infinity and remove the body from the space. You must remove the body to prevent it from falling under the effects of gravity.
Return to Features/Development
Users browsing this forum: No registered users and 1 guest