Component Physics
(NOTE) Allows a cog to ignore certain effect types (such as gravity or drag) that are being applied to the entire space (effects on Space or LevelSettings).
| Methods | Properties | Base Classes | Derived Classes |
|---|---|---|---|
| GetIgnoreState | IgnoreBuoyancy | component | |
| Constructor | IgnoreCustom | ||
| SetIgnoreState | IgnoreDrag | ||
| IgnoreFlow | |||
| IgnoreForce | |||
| IgnoreGravity | |||
| IgnorePointForce | |||
| IgnorePointGravity | |||
| IgnoreThrust | |||
| IgnoreTorque | |||
| IgnoreVortex | |||
| IgnoreWind |
Properties
IgnoreBuoyancy : boolean
Whether or not to ignore buoyancy effects.
var IgnoreBuoyancy : Boolean
IgnoreCustom : boolean
Whether or not to ignore custom effects.
var IgnoreCustom : Boolean
IgnoreDrag : boolean
Whether or not to ignore drag effects.
var IgnoreDrag : Boolean
IgnoreFlow : boolean
Whether or not to ignore flow effects.
var IgnoreFlow : Boolean
IgnoreForce : boolean
Whether or not to ignore force effects.
var IgnoreForce : Boolean
IgnoreGravity : boolean
Whether or not to ignore gravity effects.
var IgnoreGravity : Boolean
IgnorePointForce : boolean
Whether or not to ignore point force effects.
var IgnorePointForce : Boolean
IgnorePointGravity : boolean
Whether or not to ignore point gravity effects.
var IgnorePointGravity : Boolean
IgnoreThrust : boolean
Whether or not to ignore thrust effects.
var IgnoreThrust : Boolean
IgnoreTorque : boolean
Whether or not to ignore torque effects.
var IgnoreTorque : Boolean
IgnoreVortex : boolean
Whether or not to ignore vortex effects.
var IgnoreVortex : Boolean
IgnoreWind : boolean
Whether or not to ignore wind effects.
var IgnoreWind : Boolean
Methods
GetIgnoreState : boolean
Should the given effect type be ignored? |Name|Type|Description| |---|---|---| |effectType|PhysicsEffectType| |
function GetIgnoreState(effectType : PhysicsEffectType) : Boolean
IgnoreSpaceEffects : Void
constructor
Name Type Description function IgnoreSpaceEffects()
SetIgnoreState : Void
Set if an effect type should be ignored. |Name|Type|Description| |---|---|---| |effectType|PhysicsEffectType| | |ignore|boolean| |
function SetIgnoreState(effectType : PhysicsEffectType, ignore : Boolean)