Navigation
API > API/Plugins > API/Plugins/MassMovement
The presence of this tag indicates that this mass agent's velocity should be controlled by the FMassDesiredMovementFragment.
For code driven displacement, we want the desired velocity to affect the velocity directly, which is then applied to the character mover. For e.g. Root Motion driven displacement, we just need to pipe the DesiredVelocity to the animation system and let it do the test.
| Name | FMassCodeDrivenMovementTag |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/MassGameplay/Source/MassMovement/Public/MassMovementFragments.h |
| Include Path | #include "MassMovementFragments.h" |
Syntax
USTRUCT ()
struct FMassCodeDrivenMovementTag : public FMassTag
Inheritance Hierarchy
- FMassTag → FMassCodeDrivenMovementTag