Cannot rotate Pawn with WheeledVehicleMovementComponent

I am trying to rotate a vehicle pawn based on the Advanced vehicle template, but the pawn ignores all SetRotation attempts. The pawn is using WheeledVehicleMovementComponent. On pawns from other templates that use different type of movement component the rotation works.

What I’ve tried

On actor:

  • SetActorRotation()
  • AddActorLocalRotation()
  • AddActorWorldRotation()
  • SetActorLocationAndRotation()
  • SetActorRelativeRotation()

On Mesh component:

(Mesh is the RootComponent and UpdatedComponent of WheeledVehicleMovementComponent)

  • AddLocalRotation()
  • AddRelativeRotation()
  • SetRelativeLocationAndRotation()
  • SetRelativeRotation()
  • SetWorldLocationAndRotation()
  • SetWorldRotation()

In Controller:

Turned on useControllerRotationPitch/Yaw/Roll in Pawn.

  • SetControlRotation()

Is this a bug or limitation of WheeledVehicleMovementComponent?

Hey Frozz-

This is a known issue that has been previously reported. You can find more information in this discussion as well as a workaround that should help:

Though the post mentions SetActorLocation() you should be able to use the information for SetActorRotation() as well.

Cheers