Hey, quick question:
can I dynamically change the radius of a circle shape (so like, I expand my sprite and the body/shape attached will expand in the physics space as well?
I guess it's the lack of OoP in chipmunk, but since cpCircleShape is not just an extension of cpShape, once I've created the circle and it's been casted to a cpShape, I can't access the radius parameter. Alternatively, if I just create a cpCircleShape without casting to a cpShape, I can't set the data, elasticity or other parameters.
SIGH.
Anyone have any ideas? I'm basically updating the scale of my Sprite in a custom sprite class (that owns it's physics body and shape), and I'd like the scale the radius of the shape at the same time.
thanks!