added support for angular velocity and torque