Understanding URotatingMovementComponent
URotatingMovementComponent
is one of a few movement components that exists within UE5. You are already familiar with CharacterMovementComponent
and ProjectileMovementComponent
from the SuperSideScroller game project alone, and RotatingMovementComponent
is just that – another movement component. As a refresher, movement components allow different types of movements to occur on actors, or characters, that they belong to.
Note
CharacterMovementComponent
, which allows you to control the movement parameters of your character, such as their movement speed and jump height, was covered in Chapter 10, Creating the SuperSideScroller Game, when you created the SuperSideScroller player character. ProjectileMovementComponent
, which allows you to add projectile-based movement functionality to actors, such as speed and gravity, was covered in Chapter 14, Spawning the Player Projectile, when you developed the player projectile.
RotatingMovementComponent...