Component
Physics
(NOTE) A common interface for all effects in physics. An effect is something that typically applies a force and can be attached to a collider, rigid body, region, or even a space. This effect is applied every frame according to the rules of the object it is attached to.
Methods | Properties | Base Classes | Derived Classes |
---|---|---|---|
Toggle | Active | component | basicdirectioneffect |
DebugDrawEffect | basicpointeffect | ||
EffectType | buoyancyeffect | ||
WakeUpOnChange | customphysicseffect | ||
drageffect | |||
floweffect | |||
thrusteffect | |||
torqueeffect | |||
vortexeffect | |||
windeffect |
Properties
Active : boolean
Enable/disable this effect.
var Active : Boolean
DebugDrawEffect : boolean
Should the effect debug draw.
var DebugDrawEffect : Boolean
EffectType : PhysicsEffectType
read-only
What kind of effect this is (e.g. ForceEffect, GravityEffect, etc...).
var EffectType : PhysicsEffectType
WakeUpOnChange : boolean
Whether the object associated with this is woken up when any property is changed.
var WakeUpOnChange : Boolean
Methods
Toggle : Void
Toggles whether or not this effect is active. |Name|Type|Description| |---|---|---|
function Toggle()