void cpShapeSetBody(cpShape *shape, cpBody *body) { cpAssertHard(!cpShapeActive(shape), "You cannot change the body on an active shape. You must remove the shape from the space before changing the body."); shape->body = body; }
void cpShapeSetBody(cpShape *shape, cpBody *body) { cpAssertHard(!cpShapeActive(shape), "You cannot change the body on an active shape. You must remove the shape, then "); shape->body = body; }