wck - physics/collision rotation along w/ the body?

I have a class "bumper" which extends Box, and a mouse event added to the "bumper" object in the world. I am trying to get the body to rotate 45 degrees on mouse click, and while I have been successful using .rotatation = 45, the physics do not rotate along w/ the body. What is the proper syntax? I've tried angular velocity as well as torque, and neither one gets the body to rotate.

thanks

Edit: essentially im trying to figure out how to get the bounding box to rotate with the body. Using .rotation rotates the box, but the corners of the box are no longerbound and objects passing through no longer report collisions
Hope that's more clear.

Thanks
Is your "bumper" type == "Static"? If a body is static, WCK assumes it will never move, so there is no link between the Flash MovieClip and the Box2D body.

However, you should be able to call "syncTransform()" on the BodyShape to force feed the new rotation back into Box2D.

Alternatively, you could use type == "Animated". This will check the MovieClip position each frame and if it changes, will feed the new transform back into Box2D.

Or you could use a revolute joint on a dynamic body and control it via the motor.
Sweet. Thanks for the animated suggestion. Makes perfect sense.

Original thread: https://box2d.org/forum/viewtopic.php?t=5646