unreal.ExactDampedTurnGenerator

class unreal.ExactDampedTurnGenerator(outer: Object | None = None, name: Name | str = 'None')

Bases: Object

Modular mechanism for turning a Mover actor in place using an exact damped spring

C++ Source:

  • Plugin: Mover

  • Module: Mover

  • File: ModularMovement.h

Editor Properties: (see get_editor_property/set_editor_property)

  • half_life_seconds (float): [Read-Write] Time required to reach halfway to the target orientation (smaller = quicker)

get_turn(target_orientation, full_start_state, mover_state, time_step, proposed_move, sim_blackboard) Rotator

Returns an additive angular velocity (per-axis degrees/second) based on the starting state and timestep

Parameters:
Return type:

Rotator

property half_life_seconds: float

[Read-Write] Time required to reach halfway to the target orientation (smaller = quicker)

Type:

(float)