PhysicsShape applyTorque function