Description
The torque applied to the rigidbody every frame.
using UnityEngine;
using System.Collections;
public class example :
MonoBehaviour {
void Awake() {
constantForce.torque =
Vector3.up * 2;
}
}
import UnityEngine
import System.Collections
class example(
MonoBehaviour):
def
Awake():
constantForce.torque = (
Vector3.up * 2)