ConstantForce.torque

var torque : Vector3

Description

The torque applied to the rigidbody every frame.

JavaScript
// Rotates the object around the world y-axis
constantForce.torque = Vector3.up * 2;