Adding a Sprint ability

Now that we have a basic understanding of how the movement input nodes take the controller input and apply it to our in-game character, we'll extend that functionality with a Sprint ability. We'll set up a new series of nodes within the FirstPersonCharacter Blueprint. They will look like this:

First, we will need to create a trigger that will activate our Sprint Action. Recall that we previously mapped the Sprint Action to the Left Shift key. To access that input trigger, right-click on the empty grid space to the left of the other movement Functions and search for Sprint. Select the InputAction Sprint Event to place ...

Get Blueprints Visual Scripting for Unreal Engine - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.