Rotation of CollisionShapes

Hello,

I have a Spatial with a RigidBodyControl attached to it. I can rotate the Spatial through its setLocalRotation method. But the RigidBodyControl doesn’t get rotated together with it. It remains in its initial position. So when I have a collidable door for example and I open it (by rotating it) I cannot go through, because the collision still happens on where it initially was.

Can I somehow rotate the door and rotate its RigidBodyControl along with it?

make it kinematic

Check out the physics tutorial, it explains how you have to move physics objects.