unreal.TrajectorySampleInfo

class unreal.TrajectorySampleInfo(transform: Transform = Ellipsis, linear_velocity: Vector = Ellipsis, instantaneous_acceleration: Vector = Ellipsis, angular_velocity: Rotator = Ellipsis, sim_time_ms: float = 0.0)

Bases: StructBase

Encapsulates detailed trajectory sample info, from a move that has already occurred or one projected into the future

C++ Source:

  • Plugin: Mover

  • Module: Mover

  • File: MovementUtils.h

Editor Properties: (see get_editor_property/set_editor_property)

  • angular_velocity (Rotator): [Read-Write] Rotational velocity (world space, degrees/sec)

  • instantaneous_acceleration (Vector): [Read-Write] Acceleration at the time of this sample (world space, units/sec^2)

  • linear_velocity (Vector): [Read-Write] Velocity at the time of this sample (world space, units/sec)

  • sim_time_ms (double): [Read-Write] Time stamp of this sample, in server simulation time

  • transform (Transform): [Read-Write] Position and orientation (world space)

property angular_velocity: Rotator

[Read-Write] Rotational velocity (world space, degrees/sec)

Type:

(Rotator)

property instantaneous_acceleration: Vector

[Read-Write] Acceleration at the time of this sample (world space, units/sec^2)

Type:

(Vector)

property linear_velocity: Vector

[Read-Write] Velocity at the time of this sample (world space, units/sec)

Type:

(Vector)

property sim_time_ms: float

[Read-Write] Time stamp of this sample, in server simulation time

Type:

(double)

property transform: Transform

[Read-Write] Position and orientation (world space)

Type:

(Transform)