unreal.RigUnit_GenerateMoverTrajectory¶
- class unreal.RigUnit_GenerateMoverTrajectory(mover_component: MoverComponent = Ellipsis, delta_time: float = 0.0, history_sampling_interval: float = 0.0, num_history_samples: int = 0, prediction_sampling_interval: float = 0.0, num_prediction_samples: int = 0, mover_sampling_frame_rate: FrameRate = Ellipsis, out_trajectory: TransformTrajectory = Ellipsis, execute_context: AnimNextExecuteContext = [])¶
Bases:
RigUnit_AnimNextBaseA utility node to generate a trajectory from a mover component
C++ Source:
Plugin: MoverAnimNext
Module: MoverAnimNext
File: RigUnit_GenerateMoverTrajectory.h
Editor Properties: (see get_editor_property/set_editor_property)
delta_time(float): [Read-Write] This should be the most recent simulation time that was used to get us to our current stateexecute_context(AnimNextExecuteContext): [Read-Write] The execution resulthistory_sampling_interval(float): [Read-Write] The sampling interval to use for the historymover_component(MoverComponent): [Read-Write] The mover component to generate the trajectory formover_sampling_frame_rate(FrameRate): [Read-Write] Sampling frame rate to query the mover, doesn’t necessarily match the PredictionSamplingInterval which is used to write to the trajectorynum_history_samples(int32): [Read-Write] The upper limit of samples to use for the historynum_prediction_samples(int32): [Read-Write] The upper limit of samples to use for predictionout_trajectory(TransformTrajectory): [Read-Write] The resulting trajectoryprediction_sampling_interval(float): [Read-Write] The interval to use for prediction (in seconds)
- property delta_time: float¶
[Read-Write] This should be the most recent simulation time that was used to get us to our current state
- Type:
(float)
- property execute_context: AnimNextExecuteContext¶
[Read-Write] The execution result
- Type:
- property history_sampling_interval: float¶
[Read-Write] The sampling interval to use for the history
- Type:
(float)
- property mover_component: MoverComponent¶
[Read-Write] The mover component to generate the trajectory for
- Type:
- property mover_sampling_frame_rate: FrameRate¶
[Read-Write] Sampling frame rate to query the mover, doesn’t necessarily match the PredictionSamplingInterval which is used to write to the trajectory
- Type:
- property num_history_samples: int¶
[Read-Write] The upper limit of samples to use for the history
- Type:
(int32)
- property num_prediction_samples: int¶
[Read-Write] The upper limit of samples to use for prediction
- Type:
(int32)
- property out_trajectory: TransformTrajectory¶
[Read-Write] The resulting trajectory
- Type: