unreal.ExactDampedTurnGenerator¶
- class unreal.ExactDampedTurnGenerator(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ObjectModular 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) Vector¶
Returns an additive angular velocity (degrees/second) based on the starting state and timestep. The vector points in the direction of the rotation axis
- Parameters:
target_orientation (Rotator)
full_start_state (MoverTickStartData)
mover_state (MoverDefaultSyncState)
time_step (MoverTimeStep)
proposed_move (ProposedMove)
sim_blackboard (MoverBlackboard)
- Return type: