Navigation
API > API/Plugins > API/Plugins/MotionTrajectory
References
| Module | MotionTrajectory |
| Header | /Engine/Plugins/Experimental/Animation/MotionTrajectory/Source/MotionTrajectory/Public/MotionTrajectoryLibrary.h |
| Include | #include "MotionTrajectoryLibrary.h" |
Syntax
USTRUCT (BlueprintType )
struct FCharacterTrajectoryData
Variables
| Type | Name | Description | |
|---|---|---|---|
| FVector | Acceleration | ||
| FRuntimeFloatCurve | AccelerationRemappingCurve | ||
| float | BendVelocityTowardsAcceleration | Artificially bend character velocity towards acceleration direction to compute trajectory prediction, to get sharper turns 0: character velocity is used with no alteration, 1: the acceleration direction is used as velocity direction | |
| bool | bOrientRotationToMovement | ||
| float | BrakingDeceleration | ||
| bool | bUseAccelerationRemappingCurve | ||
| bool | bUseSpeedRemappingCurve | ||
| float | ControllerYawRate | ||
| float | ControllerYawRateClamped | ||
| float | DesiredControllerYawLastUpdate | ||
| FQuat | Facing | ||
| float | Friction | ||
| float | MaxControllerYawRate | Maximum controller yaw rate in degrees per second used to clamp the character owner controller desired yaw to generate the prediction trajectory. | |
| float | MaxSpeed | ||
| FQuat | MeshCompRelativeRotation | ||
| FVector | Position | ||
| float | RotateTowardsMovementSpeed | If the character is forward facing (i.e. bOrientRotationToMovement is true), this controls how quickly the trajectory will rotate to face acceleration. | |
| FRuntimeFloatCurve | SpeedRemappingCurve | ||
| FVector | Velocity |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FVector | StepCharacterMovementGroundPrediction
(
float DeltaSeconds, |
||
| void | UpdateDataFromCharacter
(
float DeltaSeconds, |