Table of Contents

Component Physics

(NOTE) Applies a torque to the center of mass of a body.

Methods Properties Base Classes Derived Classes
Constructor LocalTorque physicseffect
TorqueAxis
TorqueStrength
WorldTorqueAxis

Properties


LocalTorque : boolean

Determines if the torque is applied in local or world space.

var LocalTorque : Boolean

TorqueAxis : real3

The axis that the torque is being applied about.

var TorqueAxis : Real3

TorqueStrength : real

The strength of the torque being applied.

var TorqueStrength : Real

WorldTorqueAxis : real3

read-only

The axis of the torque in world space (can be used to manually add torque to a RigidBody).

var WorldTorqueAxis : Real3

Methods


TorqueEffect : Void

constructor

Name Type Description
function TorqueEffect()