Adding movement
Now that we have a target that responds to the player shooting, we can add some sort of challenge to start making our project feel like a game. A simple way to do this is to add some movement to our target. To accomplish this, we first must declare that our target Actor is an object that is intended to move, and then we need to set up logic within the Blueprint that manages how it moves. Our goal is to make the target Cylinder move back and forth across our Level.
Changing the Actor's Mobility and Collision settings
To allow our target to move, we first must change its Mobility setting to Moveable. This allows an Actor to be manipulated while playing the game. To do this, follow these steps:
Important Information
By default, basic Actors that are placed in the world are set to Static. Static means that an object cannot move or be manipulated during gameplay. Static objects are significantly less resource-intensive to render, and this should be our default...