Component
Physics
(NOTE) Common interface for all point effects. Used to attract or repel objects towards a central point. The strength of the effect is calculated as an interpolation between two strength values at two radial distances.
Methods | Properties | Base Classes | Derived Classes |
---|---|---|---|
EndCondition | physicseffect | pointforceeffect | |
InterpolationType | pointgravityeffect | ||
LocalPositionOffset | |||
MaxDistance | |||
MinDistance | |||
StrengthAtMax | |||
StrengthAtMin |
Properties
EndCondition : PhysicsEffectEndCondition
How the interpolation should be handled after max distance. ClampToMax will clamp to StrengthAtMax. NoEffect will ignore the effect. ContinueFalloff will continue the interpolation (this may go negative).
var EndCondition : PhysicsEffectEndCondition
InterpolationType : PhysicsEffectInterpolationType
The type of interpolation used (e.g. Linear, Quadratic) for the effect.
var InterpolationType : PhysicsEffectInterpolationType
LocalPositionOffset : real3
The offset from the transform position (in local space) that the point effect will be applied at.
var LocalPositionOffset : Real3
MaxDistance : real
The max distance that attenuation will happen at. If an object is between min and max distance, the value will be attenuated. If the object is further away, the effect strength will be determined by EndCondition.
var MaxDistance : Real
MinDistance : real
The first distance at which attenuation will start. If an object is under the min distance, StrengthAtMin will be used. If an object is in between min and max, then it will attenuate.
var MinDistance : Real
StrengthAtMax : real
The strength that this effect applies at the max distance.
var StrengthAtMax : Real
StrengthAtMin : real
The strength that this effect applies at the min distance.
var StrengthAtMin : Real