Component
Physics
(NOTE) Common interface for all directional force effects. Used to group together all common logic/variables for the force/gravity variants.
Methods | Properties | Base Classes | Derived Classes |
---|---|---|---|
Direction | physicseffect | forceeffect | |
LocalSpaceDirection | gravityeffect | ||
Strength | |||
WorldDirection |
Properties
Direction : real3
The direction that the effect will be applied in (may be in local or world space depending on the LocalSpaceDirection property).
var Direction : Real3
LocalSpaceDirection : boolean
Determines if the direction that the effect is applied is in local or world space. This vector is normalized when calculating forces.
var LocalSpaceDirection : Boolean
Strength : real
The magnitude of the force to apply.
var Strength : Real
WorldDirection : real3
read-only
The world direction of the effect. If the effect is not in local space then this is the same as Direction.
var WorldDirection : Real3