unreal.TrajectorySample¶
- class unreal.TrajectorySample(accumulated_seconds=0.0, accumulated_distance=0.0, position=[0.0, 0.0, 0.0], local_linear_velocity=[0.0, 0.0, 0.0], local_linear_acceleration=[0.0, 0.0, 0.0])¶
Bases:
unreal.StructBaseA motion trajectory sample associated with a specific time or distance domain value
C++ Source:
Module: Engine
File: MotionTrajectoryTypes.h
Editor Properties: (see get_editor_property/set_editor_property)
accumulated_distance(float): [Read-Write] Accumulated Distance: The relative accumulated distance that this trajectory sample is associated with Zero value for instantaneous, negative values for the past, and positive values for the futureaccumulated_seconds(float): [Read-Write] Accumulated Seconds: The relative accumulated time that this sample is associated with Zero value for instantaneous, negative values for the past, and positive values for the futurelocal_linear_acceleration(Vector): [Read-Write] Local Linear Acceleration: Linear acceleration relative to the sampled in-motion objectlocal_linear_velocity(Vector): [Read-Write] Local Linear Velocity: Linear velocity relative to the sampled in-motion objectposition(Vector): [Read-Write] Position: Position relative to the sampled in-motion object
- property accumulated_distance¶
[Read-Write] Accumulated Distance: The relative accumulated distance that this trajectory sample is associated with Zero value for instantaneous, negative values for the past, and positive values for the future
- Type
(float)
- property accumulated_seconds¶
[Read-Write] Accumulated Seconds: The relative accumulated time that this sample is associated with Zero value for instantaneous, negative values for the past, and positive values for the future
- Type
(float)
- property local_linear_acceleration¶
[Read-Write] Local Linear Acceleration: Linear acceleration relative to the sampled in-motion object
- Type
(Vector)