Class ConstantForce
Inherited Members
Namespace: UnityEngine
Assembly: UnityEngine.dll
Syntax
[RequireComponent(typeof(Rigidbody))]
public class ConstantForce : Behaviour
Properties
force
Declaration
public Vector3 force { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
relativeForce
Declaration
public Vector3 relativeForce { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
relativeTorque
Declaration
public Vector3 relativeTorque { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
torque
Declaration
public Vector3 torque { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |