Create First Person Animations in Unreal Engine 5! (TUTORIAL)

Smart Poly
13 Jul 202218:55

Summary

TLDRDieses Videotutorial zeigt, wie man mithilfe des Control Rig-Tools in Unreal Engine 5 erste-Personen-Animationen erstellt. Es konzentriert sich auf die Erstellung von Animationen für First-Person-Shooter oder Survival-Spiele. Der Uploader erklärt, wie man eine neue Projektmappe erstellt, ein Control Rig hinzufügt und mit dem Sequencer animiert. Er demonstriert, wie man eine Kamera an den Kopf des Charakters bindet, um die Perspektive zu prüfen, und wie man FK- in IK-Steuerelemente umschaltet, um die Bewegung der Arme zu erleichtern. Anschließend wird gezeigt, wie man eine einfache Idle-Animation kreiert und exportiert, um sie später in Animationsblends und Blueprints zu verwenden.

Takeaways

  • 🎮 Das Video zeigt, wie man in Unreal Engine 5 mit einem Control Rig Erstpersonen-Animationen erstellt.
  • 🛠️ Control Rig ist ein leistungsfähiges Werkzeug zum Erstellen von Animationen für Charaktere.
  • 🎨 Der Fokus liegt auf der Erstellung von Erstpersonen-Animationen für Genres wie Shooter oder Survival-Spiele.
  • 📂 Eine leere Projektmappe wird erstellt, wobei das 'Dritte Person'-Spiel ausgewählt wird, da es bereits Control Rig-Steuerelemente enthält.
  • 🕺 Die Control Rig-Mannequin-Body-Animation wird in die Ebene gezogen, um eine neue Sequenz mit einer Zeitleiste zu erstellen.
  • 👀 Eine Kamera wird dem Charakterkopf hinzugefügt, um die Erstpersonensicht zu simulieren und die Animationen zu überprüfen.
  • 🔄 Der Wechsel von FK (Fixed Key) zu IK (Inverse Kinematics) erleichtert die Animation der Charakterarme für die Erstpersonensicht.
  • 🗓️ Keyframes werden in der Sequenzer-Zeitleiste gesetzt, um Bewegungen und Animationen zu erstellen.
  • 🔄 Automatisches Erstellen von Keyframes ermöglicht eine effizientere Animation, indem Veränderungen sofort erfasst werden.
  • 📹 Die Animation wird als Sequenz 'gebacken' und exportiert, um sie später in Animations-Blueprints und Blend Spaces zu verwenden.
  • 🔄 Der Prozess beinhaltet auch Tipps zur Verbesserung der Animation, wie z.B. das Deaktivieren von Rastersnapping für eine glattere Bewegung.
  • 📚 DerUploader plant ein weiteres Tutorial für fortgeschrittene Techniken, einschließlich der Animation von Waffen und Aktionen wie das Laden einer Patrone.

Q & A

  • Wie kann man in Unreal Engine 5 mit einem Control Rig erste Person Animationen erstellen?

    -Man kann in Unreal Engine 5 erste Person Animationen mit einem Control Rig erstellen, indem man ein leeres Projekt erstellt, ein Control Rig Mannequin Body in den Level zieht und es in eine neue Sequenz einfügt. Dort kann man dann die Bewegungen des Charakters animieren und keyframen.

  • Welche Art von Projekt sollte man erstellen, um mit dem Control Rig zu beginnen?

    -Man sollte ein 'Games' Projekt erstellen und dabei die Option 'Third Person Character' wählen, da diese bereits mit den Control Rig Controls für das Mannequin Character eingerichtet ist.

  • Was ist der Unterschied zwischen FK und IK im Kontext des Control Rigs?

    -FK (Forward Kinematics) bedeutet, dass man nur die Knochen einzeln rotieren kann, während IK (Inverse Kinematics) es ermöglicht, die Hand zu bewegen und den Arm automatisch mit der Hand zu animieren, was beim Erstellen von Animationen für erste Person Perspektiven hilfreich ist.

  • Wie kann man eine Kamera an den Kopf des Charakters anhängen?

    -Man sucht im 'All Classes' Fenster nach 'Camera Actor', zieht es in die Szene und hängt es an den Kopf des Mannequins an, indem man es auf das gewünschte Socket oder Bone zieht.

  • Was ist der Zweck des Sequencer und wie wird er verwendet?

    -Der Sequencer wird verwendet, um Szenen, wie z.B. Animationen oder Filmsequenzen, zu erstellen. Man verwendet die Timeline des Sequencers, um bestimmte Ereignisse oder Bewegungen zu keyframen.

  • Wie kann man den Grid- und Rotationssnapping deaktivieren?

    -Man deaktiviert Grid- und Rotationssnapping, um eine glattere Bewegung und Rotation bei der Animation zu erzielen. Dies kann im Bereich der Animationseinstellungen gemacht werden.

  • Was ist eine einfache Methode, um einen Keyframe hinzuzufügen?

    -Eine einfache Methode ist das Aktivieren des 'Auto Key' Modus im Sequencer, sodass automatisch Keyframes erstellt werden, wenn man die Kontrolle bewegt oder verändert.

  • Wie kann man einen einfachen Idle-Animation erstellen?

    -Man kann einen einfachen Idle-Animation erstellen, indem man eine Grundpose keyframet, die Hände bewegt und dann diese Bewegung an einen späteren Zeitpunkt kopiert und eingepastet.

  • Was bedeutet das 'Bake Animation Sequence' Feature und wie wird es verwendet?

    -Das 'Bake Animation Sequence' Feature ermöglicht es, die erstellte Animation in eine Datei zu exportieren, die dann in Animationsblends oder Animationsblueprints verwendet werden kann. Man wählt das Feature aus und gibt einen Speicherort für die Animation an.

  • Was passiert, wenn man die Kontrolle über die Animation verlieren möchte?

    -Man kann die Kontrolle über die Animation verlieren, indem man die Kontrollformen ausblendet, was im Animationsreiter unter den Animationseinstellungen möglich ist.

  • Welche zusätzlichen Schritte sind nötig, um die erstellte Animation für andere Charaktermodelle zu verwenden?

    -Man muss die erstellte Animation retargeten, um sie für verschiedene Charaktermodelle zu verwenden. Dies kann in der Regel durch Anpassen der Animation an die neuen Modelle in einem 3D-Software wie Blender geschehen.

Outlines

00:00

🎮 Erste Schritte in der Animation mit Unreal Engine 5

Dieses Videotutorial führt durch die Erstellung von First-Person-Animationen mithilfe des Control Rig-Tools in Unreal Engine 5. Es wird gezeigt, wie man ein neues Projekt erstellt und ein Control Rig für eine Mannequin-Figur nutzt, um Animationen zu erstellen. Der Fokus liegt auf der Erstellung von First-Person-Animationen für Spiele wie First-Person-Shooter oder Survival-Spiele. Der Uploader dankt seinen Patreon-Sponsorern für ihre Unterstützung und erklärt die Grundlagen des Control Rigs und des Sequencers, um die Animation zu beginnen.

05:00

📸 Einrichten der Kamera und Ansicht im ersten Person

In diesem Abschnitt wird erklärt, wie man eine Kamera an den Kopf des Charakters bindet, um die First-Person-Perspektive zu testen und zu visualisieren. Es wird gezeigt, wie die Kamera im Sequencer erscheint und wie man sie anpasst, um die Ansicht zu verbessern. Auch wird die Verwendung von Layouts und die Anpassung der Kameraeinstellungen, wie die Rotation und die Geschwindigkeit, behandelt.

10:01

🤖 Animieren der Charakterarme mit FK und IK

Der Abschnitt erläutert den Wechsel von FK (Forward Kinematics) zu IK (Inverse Kinematics) für die Arme des Charakters, um die Animation des First-Person-Charakters zu erleichtern. Es werden die Schritte zum Aktivieren des IK-Controls und zum Animieren der Arme gezeigt, einschließlich der Deaktivierung von Rastersnapping und Rotationssnapping für eine flüssigere Bewegung. Zudem wird die Verwendung des Sequencers zur Erstellung von Keyframes und zur Automatisierung des Keyframe-Erstellens durch die Modifikation der Kontrollelemente erläutert.

15:01

🔄 Erstellen und Exportieren der Idle-Animation

In diesem Teil des Skripts wird gezeigt, wie man eine einfache Idle-Animation erstellt, indem man Keyframes für die Hände des Charakters setzt und diese dann im Sequencer animiert. Es wird auch gezeigt, wie man die Animation verlangsamen kann, indem man die Position der Keyframes im Zeitstrahl anpasst. Anschließend wird erklärt, wie man die Animation 'baken' kann, um sie im Animationsblueprint und im Animationsblendspace zu verwenden, und wie man sie exportiert, um sie für den Charakter im Spiel zu verwenden.

Mindmap

Keywords

💡Control Rig

Ein Control Rig ist ein Werkzeug in der 3D-Animation, das es ermöglicht, komplexe Bewegungen und Animationen für Charaktere zu erstellen. Im Video wird das Control Rig in Unreal Engine 5 verwendet, um First-Person-Animationen zu erstellen. Es wird als mächtige Lösung beschrieben, die es dem Animatoren ermöglicht, jede gewünschte Animation für ihre Charaktere zu gestalten.

💡Unreal Engine 5

Unreal Engine 5 ist eine 3D-Spielentwicklungsumgebung, die speziell für die Erstellung hochwertiger Computerspiele und interaktiver Inhalte verwendet wird. Im Kontext des Skripts wird Unreal Engine 5 genutzt, um First-Person-Animationen mit dem Control Rig zu erstellen, was auf die Fähigkeiten der Engine für detailreiche und dynamische Animationen hinweist.

💡First-Person Animation

First-Person-Animation bezieht sich auf Bewegungen und Handlungen, die aus der Perspektive des Charakters selbst dargestellt werden, als ob der Spieler direkt in der Rolle des Charakters steckt. Im Video wird gezeigt, wie man mit dem Control Rig in Unreal Engine 5 First-Person-Animationen für verschiedene Arten von Spielen, wie zum Beispiel First-Person-Shootern, erstellt.

💡Sequencer

Der Sequencer ist ein Tool in Unreal Engine, das verwendet wird, um Zeitbasierte Ereignisse oder Bewegungen zu steuern und zu erstellen, einschließlich der Animation. Im Video wird der Sequencer verwendet, um Keyframes für bestimmte Bewegungen des Charakters im Laufe der Zeit zu setzen und so die Animation zu definieren.

💡Keyframe

Ein Keyframe ist ein Punkt in der Zeit, an dem bestimmte Eigenschaften oder Bewegungen eines Objekts oder Charakters festgelegt sind, um die Animation zu steuern. Im Video werden Keyframes verwendet, um die Bewegungen der Charakterarme und -hände zu animieren und zu definieren, was für die Schöpfung der First-Person-Animation essentiell ist.

💡FK (Forward Kinematics)

Forward Kinematics, kurz FK, ist eine Methode der Bewegungssteuerung, bei der die Rotation von Knochen in einer Kette nacheinander angewendet wird, beginnend mit dem ersten Knochen. Im Video wird FK zunächst verwendet, um die Bewegungen des Charakters zu steuern, bevor es auf IK umgestellt wird, um die Animation des First-Person-Spielers zu erleichtern.

💡IK (Inverse Kinematics)

Inverse Kinematics, kurz IK, ist eine Technik, die es ermöglicht, die Endposition eines Objektes oder einer Figur zu definieren und dann die Bewegungen der zugrunde liegenden Teile automatisch zu berechnen. Im Video wird IK verwendet, um die Bewegungen der Arme und Hände des Charakters in einer First-Person-Animation zu animieren, was eine natürlichere und intuitivere Steuerung ermöglicht.

💡Bake Animation

Bake Animation bezieht sich auf den Prozess des Konvertierens von animierten Bewegungen in eine sequenzielle Darstellung, die in einem Spiel verwendet werden kann. Im Video wird die 'Bake Animation'-Funktion verwendet, um die erstellte First-Person-Animation in Unreal Engine zu fixieren und zu exportieren, sodass sie später in Animationsblueprints und Animationsblendspaces integriert werden kann.

💡Animation Blueprint

Ein Animationsblueprint ist eine visuelle Programmiermethode in Unreal Engine, die es ermöglicht, Animationen ohne den Schreiben von Code zu erstellen und zu bearbeiten. Im Video wird erwähnt, dass die erstellte Animation in Animationsblueprints verwendet werden kann, um die Animationslogik für Charaktere in Spielen zu implementieren.

💡Blend Space

Ein Blend Space ist ein Werkzeug in Unreal Engine, das es Animationen ermöglicht, die aus mehreren Basisanimationen interpoliert werden, um eine reichhaltigere und nahtlose Bewegungserfahrung zu schaffen. Im Video wird angedeutet, dass die erstellte Animation in einem Blend Space verwendet werden kann, um die Animation des First-Person-Charakters zu optimieren.

Highlights

Erstellung von First-Person-Animationen mit Control Rig in Unreal Engine 5.

Control Rig als leistungsstarkes Tool zur Erstellung von Charakteranimationen.

Fokus auf die Erstellung von First-Person-Animationen für Shooter- oder Survival-Spiele.

Einfache Animation und Exportierung von Animationen für den Gebrauch in Spielen.

Erstellen eines leeren Projekts mit dem 'Games'-Tab und Auswahl des 'Third Person Character'.

Import von Control Rig Mannequin Body in die Ebene zur Erstellung einer neuen Sequenz.

Erklärung des Sequencers und der Timeline für die Erstellung von Animationen.

Verwendung verschiedener Methoden zum Hinzufügen des Control Rigs zu einer Sequenz.

Hinzufügen einer Kamera zur Charakterkopf-Position für die Vorschau in der First-Person-Perspektive.

Anpassung der Kameraansicht und -bewegung für eine bessere Vorschau der Animation.

Wechsel von FK (Finger-Kontrolle) zu IK (Inverse Kinematics) für einfachere Armanimation.

Deaktivierung von Rastersnapping und Rotationssnapping für flüssigere Bewegungen.

Einfache Handlungen zur Positionierung der Charakterarme für eine First-Person-Animation.

Verwendung von Keyframes im Sequencer zur Erstellung einer Grundanimation.

Kopieren und Einfügen von Keyframes für die Erstellung eines einfachen Idle-Animations.

Anpassung der Animationsgeschwindigkeit durch Verschieben von Keyframes.

Export der erstellten Animation für die Verwendung in Animationsblueprints und Blend Spaces.

Bereitstellung von Informationen für die Erstellung eigener First-Person-Animationen in Spielen.

Geplante Folge-Tutorials für erweiterte Animationstechniken, wie das Animieren eines Waffenhaltens.

Transcripts

play00:00

hello guys welcome back to another video

play00:02

in this video i want to show you how you

play00:03

can create first person animations using

play00:06

control rig right inside unreal engine

play00:08

5. control rig is a very powerful tool

play00:11

that will allow you to create any

play00:13

animation that you'd like for your

play00:14

characters and we will focus on creating

play00:17

first person animations whether that be

play00:19

for a first person shooter survival game

play00:22

you will learn how easy it is to to

play00:24

animate and export your animations so

play00:27

that they can be game already

play00:29

so without further ado let's go ahead

play00:31

and jump right into the video

play00:38

now before we start off the video i just

play00:40

want to give a quick shout out to my

play00:43

patreon sponsors patreon is a great way

play00:45

to support all the free content that i

play00:47

produce here on the channel and you can

play00:50

also get some of the completed projects

play00:52

as a download up on my patreon and again

play00:55

thank you to my patreon supporters for

play00:57

making this video possible

play01:00

so the very first thing that you want to

play01:01

do is

play01:03

create a blank project

play01:05

you want to create a games under the

play01:07

games tab we're going to select the

play01:08

third person character

play01:10

because the third person character comes

play01:12

with a character that has all of the

play01:15

control rig controls already set up

play01:18

so we're just going to leave the

play01:19

settings as this and then i'll just name

play01:22

this to first person shooter

play01:24

and

play01:26

animations

play01:28

and create the project

play01:34

all right once we're in here

play01:37

we can go ahead and go into our content

play01:40

drawer here i'm just gonna dock this in

play01:42

layout

play01:43

but if you head over to the characters

play01:46

under the content folder

play01:48

you'll have this mannequins folder

play01:50

and inside of there we have this folder

play01:53

for rigs

play01:54

so this has all the control rigs already

play01:58

set up for the mannequin character

play02:01

so i want to give it a second here to

play02:02

load

play02:04

and once that's done loading

play02:07

i'm going to take this control rig

play02:08

mannequin underscore body

play02:11

and just drag and drop it into our level

play02:13

and what that actually did is

play02:15

it created a brand new sequence

play02:18

with our control rig right here

play02:20

and it added this timeline that we can

play02:23

actually start animating

play02:25

so if you don't know anything about

play02:26

control rig and animations

play02:29

you don't really have to worry i'll

play02:32

explain this to the best of my ability

play02:34

all right and i'll take a second here to

play02:35

explain everything

play02:37

so down here is your sequencer

play02:41

so if you don't know what a sequence is

play02:43

it's basically what you'd use to

play02:46

create either cinematics

play02:48

animations any sort of movement inside

play02:51

of your

play02:52

level

play02:53

project you're going to use this

play02:56

timeline the sequencer timeline

play02:58

to keyframe

play02:59

certain events or certain movements

play03:02

in our case we want to keyframe when we

play03:05

move

play03:06

part of the character's arms and part of

play03:08

the controls we want to keyframe it here

play03:10

on this timeline

play03:12

now there's two different ways that you

play03:14

can create the sequence

play03:15

as you saw we can just drag and drop

play03:17

this control rig mannequin body and it

play03:19

will automatically create that

play03:22

another way is you can click this little

play03:24

sequence icon at the top

play03:27

and just click add a level sequence

play03:29

once you have done that

play03:31

for example

play03:32

if i were to delete this mannequin body

play03:36

all you'd have to do is once you've

play03:39

created your sequence

play03:41

you would just have to drag in your

play03:42

control rig here

play03:44

and it will add

play03:46

to that sequence

play03:48

another way you can do that is if you go

play03:50

to your outliner you can select your

play03:52

control rig and drag it onto your

play03:54

sequence

play03:55

so there's a couple different ways that

play03:56

you can get your character here onto the

play03:59

sequence

play04:00

anyways now that we've talked about that

play04:02

let's actually talk about how to set up

play04:06

this character to start animating and

play04:09

creating a first person animation so the

play04:11

very first thing that we want to do is

play04:12

we want to add a camera to our

play04:14

character's head here

play04:16

that way we can see what it's like

play04:19

in the first person

play04:20

and we can preview the animation so i'm

play04:23

going to go to the cube plus icon and

play04:25

create a all classes and over here

play04:28

just search for a camera

play04:31

i'm going to take this camera actor drag

play04:33

and drop it in the scene

play04:36

then all we have to do is take this

play04:37

camera actor

play04:39

and drag and drop this onto our

play04:43

cr underscore mannequin

play04:45

now it's going to pop down here to ask

play04:48

us to choose a socket or bone

play04:50

and we want to attach the camera to the

play04:52

head so let's click the head

play04:56

and now

play04:57

the camera is attached to the head

play05:00

so we want to go in the details panel

play05:02

here

play05:03

and if i expand this

play05:05

we want to reset the location

play05:08

and all we have to do is click e and

play05:10

rotate this 90 degrees

play05:13

okay

play05:15

so we now have the camera attached to

play05:18

the head

play05:19

and what we want to do next is we want

play05:21

to actually preview what this camera is

play05:23

seeing

play05:24

so one way i'm going to do that is if

play05:27

you head over to

play05:29

this

play05:30

three lines button here at the top of

play05:32

your viewport

play05:33

we can go down to layouts here and we're

play05:35

going to change this to from from the

play05:37

one pane to the two pane okay

play05:41

so now we can zoom in over here

play05:44

and on this other pane we're going to

play05:45

change this

play05:46

from the top view

play05:48

all the way down to this place camera

play05:51

camera actor

play05:53

okay so right now what we're seeing is

play05:56

what this camera is seeing right here

play05:58

okay

play05:59

you can switch between your main view

play06:02

and your first person camera by just

play06:05

clicking this

play06:06

button here at the top right

play06:09

right now that should be good for now

play06:10

one thing to note is that if you scroll

play06:15

in this viewport it will move the camera

play06:18

so i'm not sure if there's a

play06:20

way to lock this specific viewport

play06:23

um if there is a way comment down below

play06:26

but just note if you're scrolling in

play06:28

here

play06:30

just make sure that you reset your view

play06:32

back to normal okay

play06:34

all right so now we should be able to

play06:37

start animating or creating a first

play06:40

person animation so if we take

play06:42

part of the hand here

play06:44

take some of these controls

play06:46

you'll notice we can move it up and down

play06:50

we can start to

play06:51

rotate the arm around

play06:54

okay

play06:56

now what i actually want to do is i want

play06:57

to switch the current controls

play07:01

from

play07:02

what it currently has right now it is

play07:04

set to fk

play07:06

so fk basically

play07:09

means that we can only rotate we can

play07:11

only rotate each bones okay which you

play07:14

know you might want to use for certain

play07:17

certain things

play07:18

but in my case i want to switch this to

play07:20

ik

play07:22

so i want to switch it to the ik control

play07:24

that way it will be a lot easier to

play07:27

actually animate our characters first

play07:29

person arms so to switch from fk to ik

play07:33

you want to go over to your sequence

play07:36

and expand here the control ring

play07:38

mannequin body

play07:41

under the global control here if you

play07:43

expand that

play07:44

we have some check boxes down here

play07:48

so these check boxes allow us to switch

play07:50

from fk

play07:52

to ik in the arms so we'll go ahead and

play07:55

click both of these check boxes right

play07:57

here

play07:58

and you'll see here in the viewport we

play08:00

now have these boxes

play08:03

on the characters hands that we can

play08:04

select

play08:06

and now if we move the arm around

play08:08

or if we move the hand around you can

play08:10

see that the arm

play08:12

moves

play08:14

with the hands motions okay

play08:17

so this is what's called ik

play08:20

and this will help us a lot when

play08:22

animating because then we don't have to

play08:24

rotate each part of the arm to animate

play08:27

it now a couple more settings before we

play08:30

go ahead and create an animation

play08:33

first thing that you can do is you can

play08:34

disable grid snapping so you get a more

play08:36

smoother movement

play08:38

when animating you can also disable

play08:42

rotation snapping so when you rotate get

play08:44

more smoother rotation

play08:47

if you click this

play08:48

arrow icon here

play08:50

i'm going to change the camera speed

play08:52

down to one so that will make our lives

play08:55

a lot easier when

play08:57

navigating in this viewport

play09:00

rather than

play09:01

having to deal with fast camera speed

play09:04

so now if we take

play09:05

part of our character's arms here and

play09:07

rotate it around

play09:10

we can start to animate

play09:12

our character's hands

play09:14

now one thing i forgot to do is we want

play09:16

to actually change this from real time

play09:19

off to real time on okay

play09:22

that way we can actually see what we're

play09:23

doing

play09:25

so we can take our character's hand

play09:27

right here

play09:29

we can also take the elbow here and move

play09:31

it up

play09:33

and we can sort of position our

play09:35

character's hand

play09:37

like so

play09:41

i'm just moving both of the characters

play09:44

arms by selecting the controls

play09:47

and moving them around rotating them

play09:51

and what i'm basically trying to

play09:52

accomplish here is just to get our

play09:54

characters hands in front of the screen

play09:59

that way we can

play10:00

start work start working on a first

play10:03

person animation

play10:04

okay so you can take the elbow controls

play10:06

here and move them out

play10:10

and we can take these hand controls

play10:14

and rotate them

play10:20

and position them like so

play10:23

now if at any point you want to hide the

play10:25

controls

play10:27

if you head over to this animation tab

play10:30

and under the animation settings we can

play10:34

see we have some check boxes here

play10:38

so if we want to hide the controls

play10:40

all we have to do is click this hide

play10:42

control shapes

play10:44

and then we can see what our first

play10:46

person view would look like without any

play10:49

of the controls

play10:51

another

play10:52

neat button inside of here

play10:55

is to only select control rate controls

play11:00

so this setting right here

play11:02

will make sure that we don't select

play11:04

anything else in the world

play11:06

that way we only select

play11:09

the control rig controls

play11:11

so that way we don't select a cube or

play11:13

something other than our characters

play11:16

control rig

play11:17

so that will make animating a lot easier

play11:20

so now that we've have

play11:22

sort of like this bass pose

play11:24

let's actually start

play11:26

working on creating maybe sort of an

play11:29

idle animation

play11:31

okay

play11:33

so down here

play11:35

in our sequencer

play11:37

you can scroll up and down here

play11:39

and we're gonna start adding key frames

play11:43

to

play11:44

create a very basic animation

play11:47

so with our current control selected

play11:51

our hand control here

play11:53

if we

play11:54

if we scroll down we're going to see the

play11:56

current control that we have selected

play11:58

in this case our hand

play12:01

left ik control

play12:04

and there are two different ways you can

play12:05

add a keyframe you can click this

play12:08

little circle icon right here

play12:10

that will add a keyframe

play12:13

you can also

play12:16

click this keyframe icon right here

play12:19

and what this will do is it will

play12:21

automatically create a keyframe

play12:24

whenever you make any sort of movement

play12:26

or changes

play12:28

so for example

play12:30

i'm going to keyframe

play12:32

this hand arm

play12:35

okay and our hand

play12:38

left hand control so both of these

play12:40

controls are currently keyframed

play12:43

i'm going to move this timeline over to

play12:46

maybe

play12:48

about 20 seconds

play12:50

and then if you

play12:53

take the control and move it around

play12:55

you can see that it automatically

play12:56

creates a keyframe

play12:58

so whenever you modify

play13:01

or move around a control

play13:03

if you have this key icon selected

play13:06

it will automatically add a keyframe for

play13:09

whenever you move a control around

play13:11

so this is really handy

play13:13

that way if you forget to

play13:16

click this little circle icon whenever

play13:18

you modify the control it'll

play13:20

automatically keyframe it for you so we

play13:22

currently just added a little bit of an

play13:24

animation there you can see we moved

play13:27

we keyframed the initial pose

play13:30

of our hands right here

play13:32

and then about 20 seconds in all i did

play13:35

was move the hands down

play13:37

took these controls moved them down

play13:41

and then had made sure that i marked

play13:43

those keyframes

play13:45

one for the right hand and

play13:48

one for the left hand

play13:50

okay

play13:51

so what we have here is

play13:54

basically

play13:55

really simple

play13:56

[Music]

play13:57

hands are moving down

play13:59

now what i'm going to do is you can

play14:01

actually select keyframes and copy them

play14:04

so i'm going to left click and drag

play14:07

and select both

play14:09

the left hand and the right hand

play14:12

keyframe

play14:13

at frame 0

play14:15

control c

play14:16

then if we move this over to say about

play14:19

40 seconds

play14:20

control v

play14:22

you can paste that frame

play14:25

so right now we have a very simple

play14:28

idle animation so you can see we go from

play14:31

our initial pose

play14:33

hands move down

play14:34

and move back up

play14:37

now this is probably a bit too fast

play14:40

so what we can do is we can

play14:43

select these keys

play14:46

and you can click on them and move them

play14:48

like so

play14:50

okay so i'm going to move

play14:53

these center keys to the middle

play14:56

i'm going to move these to

play14:58

about the end like so

play15:01

now if we hit spacebar play

play15:04

see that our character has this very

play15:06

simple idle animation and maybe i want

play15:08

to

play15:09

space this out a little bit more

play15:13

move that to about the center

play15:16

and then we're going to take

play15:18

these frames and move it to the very end

play15:21

like so

play15:23

so if we hit play

play15:25

we have this very basic

play15:27

idle animation

play15:29

and of course if you want to

play15:32

hide the controls you can click the high

play15:34

control shapes

play15:35

you can see what it looks like

play15:37

here in the first person

play15:40

now you might notice that the arms

play15:43

kind of look weird

play15:45

from the third person

play15:47

and it's really up to you how you

play15:49

animate or position the arms

play15:52

it really it depends on your game

play15:54

whether or not you're actually going to

play15:55

have like a third person in your game or

play15:58

if it's just for first person if it is

play16:00

just first person you really only have

play16:02

to animate the arms

play16:04

in fact what you could do is you could

play16:05

just delete the rest of the mesh other

play16:08

than just the arms

play16:10

but like i said it's up to how you want

play16:13

your game designed if it's multiplayer

play16:16

and whatnot so right now i think this is

play16:18

a pretty good animation pretty good idle

play16:21

animation

play16:22

what we're going to do now is we're

play16:23

going to go ahead and export this

play16:25

animation so that we can use it

play16:28

in our animation blueprint

play16:31

as well as our animation blend space

play16:34

so let's go ahead and if you scroll to

play16:36

the very top here

play16:39

if you select your control rig mannequin

play16:41

and body

play16:43

we can right click

play16:45

and we have

play16:46

this menu that pops up

play16:48

what we want to do is you want to bake

play16:51

animation sequence okay

play16:53

so click bake animation sequence

play16:56

and now it's going to ask for a location

play16:58

to bake that animation to

play17:01

and i'm just going to select my content

play17:03

folder

play17:05

and we can just rename this to idle

play17:08

animation

play17:10

click ok

play17:11

and then

play17:13

if you expand this export you have some

play17:16

settings here

play17:17

i'm going to leave all the settings as a

play17:19

default

play17:20

and just click export to animation

play17:24

now you can see it was completed

play17:26

so we go in our content drawer

play17:29

we have here this idle animation

play17:32

and it will pop open the window

play17:36

of our idle animation

play17:38

okay

play17:39

so if we were to go into first person

play17:41

here

play17:43

you can see the hands here animating

play17:47

and of course this isn't the greatest

play17:48

example because

play17:50

our characters heads in the way

play17:53

so what you'd want to do is

play17:55

you want to go ahead and

play17:57

take the mesh that you're using into

play17:59

blender and just delete everything other

play18:01

than the arms

play18:02

but as you can see

play18:04

if you were to go into first person here

play18:07

we have just a very basic very basic

play18:09

idle animation that you can use you can

play18:12

re-target for your different character

play18:14

models and you can use to set up a first

play18:17

person character

play18:19

so i hope this is a decent amount of

play18:21

information to get you started on

play18:23

creating your own first person

play18:24

animations for your games

play18:26

i will likely make a follow-up tutorial

play18:29

detailing how to do more advanced things

play18:32

such as animates say your character

play18:35

holding a rifle as well as setting up

play18:38

the rifle so that you can actually

play18:40

animate things like reloading the clip

play18:42

anyways if you guys enjoyed the video

play18:45

make sure you leave a like and subscribe

play18:48

also check out my patreon link in the

play18:49

description below

play18:51

and as always i'll see you guys in the

play18:53

next one

Rate This

5.0 / 5 (0 votes)

الوسوم ذات الصلة
Unreal EngineAnimationenFirst-PersonSpielentwicklungControl RigTutorialsCharakteranimationBlend SpaceAnimationsexportGamedesign3D-Modellierung
هل تحتاج إلى تلخيص باللغة الإنجليزية؟