unreal.MoverPredictTrajectoryParams

class unreal.MoverPredictTrajectoryParams(num_prediction_samples: int = 0, seconds_per_sample: float = 0.0, use_visual_component_root: bool = False, disable_gravity: bool = False)

Bases: StructBase

Mover Predict Trajectory Params

C++ Source:

  • Plugin: Mover

  • Module: Mover

  • File: MoverTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • disable_gravity (bool): [Read-Write] If true, gravity will not taken into account during prediction

  • num_prediction_samples (int32): [Read-Write] 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.

  • seconds_per_sample (float): [Read-Write] How much time between predicted samples

  • use_visual_component_root (bool): [Read-Write] If true, samples are based on the visual component transform, rather than the ‘updated’ movement root. Typically, this is a mesh with its component location at the bottom of the collision primitive. If false, samples are from the movement root.

property disable_gravity: bool

[Read-Write] If true, gravity will not taken into account during prediction

Type:

(bool)

property num_prediction_samples: int

[Read-Write] 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.

Type:

(int32)

property seconds_per_sample: float

[Read-Write] How much time between predicted samples

Type:

(float)

property use_visual_component_root: bool

[Read-Write] If true, samples are based on the visual component transform, rather than the ‘updated’ movement root. Typically, this is a mesh with its component location at the bottom of the collision primitive. If false, samples are from the movement root.

Type:

(bool)