UE5 Lazy Tutorial - First Person Motion Matching Sample Project Conversion

Publicado el: 13 junio 2024
en el canal de: CGSky
15,166
515

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/documentati...

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:   / discord  
►Website: http://niftyllamagames.com
►Mail: [email protected]
►Twitter:   / realmrsky  


En esta página del sitio puede ver el video en línea UE5 Lazy Tutorial - First Person Motion Matching Sample Project Conversion de Duración hora minuto segunda en buena calidad , que subió el usuario CGSky 13 junio 2024, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 15,166 veces y le gustó 515 a los espectadores. Disfruta viendo!