unreal.BlueprintableTurnGenerator¶
- class unreal.BlueprintableTurnGenerator(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ObjectBase class for blueprint-implemented turn generators. This is necessary due to the lack of support for specifying EditInlineNew on a BP class, so it has to inherit the flag from a native parent.
C++ Source:
Plugin: Mover
Module: Mover
File: ModularMovement.h
- 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: