unreal.RigUnit_GetTrajectoryVelocity¶
- class unreal.RigUnit_GetTrajectoryVelocity(trajectory: TransformTrajectory = Ellipsis, out_velocity: Vector = Ellipsis, time1: float = 0.0, time2: float = 0.0, extrapolate: bool = False)¶
Bases:
RigUnit_AnimNextBaseComputes the velocity between two times on a trajectory
C++ Source:
Plugin: MoverAnimNext
Module: MoverAnimNext
File: RigUnit_TrajectoryAnalysis.h
Editor Properties: (see get_editor_property/set_editor_property)
extrapolate(bool): [Read-Write] If True the trajectory will be extrapolated beyond its boundsout_velocity(Vector): [Read-Write] The resulting velocity between the two provided timestime1(float): [Read-Write] The first time to analyzetime2(float): [Read-Write] The second time to analyzetrajectory(TransformTrajectory): [Read-Write] The input trajectory to analyze
- property extrapolate: bool¶
[Read-Write] If True the trajectory will be extrapolated beyond its bounds
- Type:
(bool)
- property out_velocity: Vector¶
[Read-Only] The resulting velocity between the two provided times
- Type:
(Vector)
- property trajectory: TransformTrajectory¶
[Read-Write] The input trajectory to analyze
- Type: