Class URotationActuator
- class URotationActuator : public UBoxActuator
-
Public Functions
- virtual FBoxSpace GetActionSpace() override
-
Get the Space bounding the inputs to this actuator.
Note
This function must be implemented in the derived class.
- Returns:
-
BoxSpace containing the bounds of the inputs to this actuator
- FRotator ConvertActionToFRotator(const FBoxPoint &Action)
-
Convert a Box Point with 3 values to an FRotator.
- Parameters:
-
Action – [in] BoxPoint that will be converted
- Returns:
-
FRotator equivalent to the converted BoxPoin
- virtual void TakeAction(const FBoxPoint &Action) override
-
Use this actuator to take an action impacting the world.
Note
This function must be implemented in the derived class.
- Parameters:
-
Action – [in] BoxPoint containing the inputs to this actuator
Public Members
- FBoxSpaceDimension PitchBounds = FBoxSpaceDimension(–180, 180)
-
The Min/Max value for the Pitch of the tracked rotation.
- FBoxSpaceDimension RollBounds = FBoxSpaceDimension(–180, 180)
-
The Min/Max value for the Roll of the tracked rotation.
- FBoxSpaceDimension YawBounds = FBoxSpaceDimension(–180, 180)
-
The Min/Max value for the Yaw of the tracked rotation.
- ETeleportType TeleportType = ETeleportType::None
-
Type of teleportation to use.
See SetActorLocation documentation for more details.
- bool bSweep
-
Toggle for whether to sweep while teleporting the actor.
See SetActorLocation documentation for more details