Navigation
API > API/Plugins > API/Plugins/Mover
FMoverPredictTrajectoryParams: parameter block for querying future trajectory samples based on a starting state See UMoverComponent::GetPredictedTrajectory
| Name | FMoverPredictTrajectoryParams |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/MoverSimulationTypes.h |
| Include Path | #include "MoverSimulationTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FMoverPredictTrajectoryParams
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDisableGravity | bool | If true, gravity will not taken into account during prediction | MoverSimulationTypes.h |
|
| bUseVisualComponentRoot | bool | If true, samples are based on the visual component transform, rather than the 'updated' movement root. | MoverSimulationTypes.h |
|
| NumPredictionSamples | int32 | How many samples to predict into the future, including the first sample, which is always a snapshot of the starting state with 0 accumulated time. | MoverSimulationTypes.h |
|
| OptionalInputCmds | TArray< FMoverInputCmdContext > | Optional input cmds to use, one per sample. | MoverSimulationTypes.h |
|
| OptionalStartAuxState | TOptional< FMoverAuxStateContext > | Optional starting aux state. If not set, prediction will begin from the current state. | MoverSimulationTypes.h |
|
| OptionalStartSyncState | TOptional< FMoverSyncState > | Optional starting sync state. If not set, prediction will begin from the current state. | MoverSimulationTypes.h |
|
| SecondsPerSample | float | How much time between predicted samples | MoverSimulationTypes.h |
|