My Project
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties
Static Public Member Functions | List of all members
UniExtensions.RigidbodyExtensionMethods Class Reference

Static Public Member Functions

static void LookAt (this Rigidbody rigidbody, Vector3 target, float force)
 LookAt target by applying torque forces. More...
 
static void StabilizePitchAndRoll (this Rigidbody rigidbody, float stability, float speed)
 Stabilizes the pitch and roll of a rigid body. More...
 
static void StabilizeRoll (this Rigidbody rigidbody, float stability, float speed)
 Stabilizes the roll of a rigidbody. More...
 

Member Function Documentation

static void UniExtensions.RigidbodyExtensionMethods.LookAt ( this Rigidbody  rigidbody,
Vector3  target,
float  force 
)
inlinestatic

LookAt target by applying torque forces.

Parameters
rigidbodyRigidbody.
targetTarget.
forceForce.
static void UniExtensions.RigidbodyExtensionMethods.StabilizePitchAndRoll ( this Rigidbody  rigidbody,
float  stability,
float  speed 
)
inlinestatic

Stabilizes the pitch and roll of a rigid body.

Parameters
rigidbodyRigidbody.
stabilityStability.
speedSpeed.
static void UniExtensions.RigidbodyExtensionMethods.StabilizeRoll ( this Rigidbody  rigidbody,
float  stability,
float  speed 
)
inlinestatic

Stabilizes the roll of a rigidbody.

Parameters
rigidbodyRigidbody.
stabilityStability.
speedSpeed.

The documentation for this class was generated from the following file: