UE5 Lazy Tutorial - First Person Motion Matching Sample Project Conversion

Channel:
Subscribers:
8,119
Published on ● Video Link: https://www.youtube.com/watch?v=6ybVU_1oJuw



Duration: 1:42
12,906 views
462


Epic Games' new Motion Matching example project looks great in 3rd person. Turning it into a system that works in First Person view is surprisingly easy, giving you an immersive Character Controller with full body animation and basic traversal.

Download the Sample project here: https://dev.epicgames.com/documentation/en-us/unreal-engine/game-animation-sample-project-in-unreal-engine

Let's show you how it's done:
1. Attach the Spring Arm to the Mesh.
a. Set the parent socket to the Head Bone
b. clear all transform on the spring arm
2. Find the "Camera Style Aim" variable
a. set the spring arm length to 0
b. set a socket offset of 9, 0, 10
c. set translation lag speed to a high value (50)
d. set field of view to 90 (or your own preference)
3. In the Event Graph, find the Aim input. (We will modify the code for Aim Input to turn it into a toggle of the first Person view.)
a. Use the Started Output from the enhanced input event and negate the "wants to aim" variable.
b. Set the "Wants to aim variable"
That's it.
An additional Fix:
4. It's possible to clip into walls. To fix this, you can increase the capsule radius until this no longer becomes an issue.

►Join the discord: https://discord.gg/qjCdv67
►Website: http://niftyllamagames.com/
►Mail: leander@niftyllamagames.com
►Twitter: https://twitter.com/RealMrSky







Tags:
CGSky
UE4
Unreal Engine
Leander Burger
Gamedev
Indiedev
Development
Game Design
Indiegame
Level Design
Tech Design
Devlog
Unreal
Programming
How to make a game
how to
showcase
trailer
tutorial
showreel
indie game
entrepreneur
fps