sc2-gamedata
|
Force. More...
#include <Actor.h>
Public Attributes | |
SActorRequest | Receiver |
Receiver. More... | |
EActorForceField | Field |
Field. More... | |
CVariatorActorReal32 | Duration |
Duration. More... | |
CVariatorActorReal32 | Magnitude |
Magnitude. More... | |
CFlags | ForceFlags |
Force Flags. More... | |
Force.
CVariatorActorReal32 CActorForce::Duration |
Duration.
The force actor will stay alive and apply forces to nearby models with physics bodies throughout the specified duration. Setting this to -1 will cause it to apply the force indefinitely until the actor is manually destroyed.
EActorForceField CActorForce::Field |
Field.
Determines whether the force will be applied radially or directionally. A radial force will be applied outward from the center of the force field whereas a directional force will be applied in the same direction across the entire area of the force field.
CFlags CActorForce::ForceFlags |
Force Flags.
Force flags allow you to control whether the force has falloff which diminishes in strength over distance and whether the same force can stack by being applied multiple times from different sources.
CVariatorActorReal32 CActorForce::Magnitude |
Magnitude.
The magnitude of a force determines how much acceleration will be applied to physics bodies within the force field.
SActorRequest CActorForce::Receiver |
Receiver.
If specified, determines what type of actor can be a valid target for the force.