added rigidbody rotation support