sc2-gamedata
Public Attributes | List of all members
CActorForce Class Reference

Force. More...

#include <Actor.h>

Inheritance diagram for CActorForce:
Inheritance graph
[legend]
Collaboration diagram for CActorForce:
Collaboration graph
[legend]

Public Attributes

SActorRequest Receiver
 Receiver. More...
 
EActorForceField Field
 Field. More...
 
CVariatorActorReal32 Duration
 Duration. More...
 
CVariatorActorReal32 Magnitude
 Magnitude. More...
 
CFlags ForceFlags
 Force Flags. More...
 

Detailed Description

Force.

Remarks
Unknown

Member Data Documentation

◆ Duration

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.

◆ Field

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.

◆ ForceFlags

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.

Remarks
indexEnum: EActorForceFlag

◆ Magnitude

CVariatorActorReal32 CActorForce::Magnitude

Magnitude.

The magnitude of a force determines how much acceleration will be applied to physics bodies within the force field.

◆ Receiver

SActorRequest CActorForce::Receiver

Receiver.

If specified, determines what type of actor can be a valid target for the force.


The documentation for this class was generated from the following file: