Character Retargeting #2

15 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$99.99
List Price:  $139.99
You save:  $40
€95.85
List Price:  €134.19
You save:  €38.34
£79.54
List Price:  £111.35
You save:  £31.81
CA$143.73
List Price:  CA$201.23
You save:  CA$57.50
A$159.93
List Price:  A$223.91
You save:  A$63.97
S$135.54
List Price:  S$189.77
You save:  S$54.22
HK$777.83
List Price:  HK$1,089
You save:  HK$311.16
CHF 89.34
List Price:  CHF 125.09
You save:  CHF 35.74
NOK kr1,131.88
List Price:  NOK kr1,584.68
You save:  NOK kr452.80
DKK kr715.08
List Price:  DKK kr1,001.15
You save:  DKK kr286.06
NZ$176.75
List Price:  NZ$247.46
You save:  NZ$70.70
د.إ367.26
List Price:  د.إ514.18
You save:  د.إ146.92
৳11,945.33
List Price:  ৳16,723.94
You save:  ৳4,778.61
₹8,493.77
List Price:  ₹11,891.62
You save:  ₹3,397.85
RM450.75
List Price:  RM631.07
You save:  RM180.32
₦154,938.50
List Price:  ₦216,920.10
You save:  ₦61,981.60
₨27,824.38
List Price:  ₨38,955.25
You save:  ₨11,130.86
฿3,419.79
List Price:  ฿4,787.84
You save:  ฿1,368.05
₺3,519.01
List Price:  ₺4,926.76
You save:  ₺1,407.74
B$608.53
List Price:  B$851.97
You save:  B$243.44
R1,830.80
List Price:  R2,563.19
You save:  R732.39
Лв187.32
List Price:  Лв262.25
You save:  Лв74.93
₩144,627.53
List Price:  ₩202,484.33
You save:  ₩57,856.80
₪365.39
List Price:  ₪511.57
You save:  ₪146.17
₱5,882.91
List Price:  ₱8,236.31
You save:  ₱2,353.40
¥15,643.93
List Price:  ¥21,902.13
You save:  ¥6,258.20
MX$2,007.58
List Price:  MX$2,810.70
You save:  MX$803.11
QR364.41
List Price:  QR510.19
You save:  QR145.78
P1,381.63
List Price:  P1,934.33
You save:  P552.70
KSh12,923.70
List Price:  KSh18,093.70
You save:  KSh5,170
E£5,087.81
List Price:  E£7,123.14
You save:  E£2,035.32
ብር12,764.56
List Price:  ብር17,870.89
You save:  ብር5,106.33
Kz91,790.82
List Price:  Kz128,510.82
You save:  Kz36,720
CLP$98,905.10
List Price:  CLP$138,471.10
You save:  CLP$39,566
CN¥729.56
List Price:  CN¥1,021.42
You save:  CN¥291.85
RD$6,087.13
List Price:  RD$8,522.23
You save:  RD$2,435.09
DA13,485.25
List Price:  DA18,879.89
You save:  DA5,394.64
FJ$231.62
List Price:  FJ$324.28
You save:  FJ$92.66
Q770.23
List Price:  Q1,078.35
You save:  Q308.12
GY$20,913.67
List Price:  GY$29,279.97
You save:  GY$8,366.30
ISK kr13,911.60
List Price:  ISK kr19,476.80
You save:  ISK kr5,565.20
DH1,006.07
List Price:  DH1,408.53
You save:  DH402.46
L1,836.70
List Price:  L2,571.46
You save:  L734.75
ден5,900.06
List Price:  ден8,260.33
You save:  ден2,360.26
MOP$800.26
List Price:  MOP$1,120.39
You save:  MOP$320.13
N$1,840.36
List Price:  N$2,576.58
You save:  N$736.22
C$3,678.42
List Price:  C$5,149.94
You save:  C$1,471.51
रु13,597.49
List Price:  रु19,037.04
You save:  रु5,439.54
S/372.23
List Price:  S/521.13
You save:  S/148.90
K405.36
List Price:  K567.52
You save:  K162.16
SAR375.62
List Price:  SAR525.88
You save:  SAR150.26
ZK2,766.46
List Price:  ZK3,873.15
You save:  ZK1,106.69
L477.10
List Price:  L667.96
You save:  L190.86
Kč2,408.98
List Price:  Kč3,372.68
You save:  Kč963.69
Ft39,689.03
List Price:  Ft55,566.23
You save:  Ft15,877.20
SEK kr1,103.13
List Price:  SEK kr1,544.43
You save:  SEK kr441.30
ARS$102,160.40
List Price:  ARS$143,028.65
You save:  ARS$40,868.24
Bs690.76
List Price:  Bs967.10
You save:  Bs276.33
COP$435,928.80
List Price:  COP$610,317.76
You save:  COP$174,388.96
₡50,434.81
List Price:  ₡70,610.75
You save:  ₡20,175.94
L2,537.51
List Price:  L3,552.62
You save:  L1,015.10
₲779,455.88
List Price:  ₲1,091,269.42
You save:  ₲311,813.53
$U4,474.38
List Price:  $U6,264.31
You save:  $U1,789.93
zł408.66
List Price:  zł572.14
You save:  zł163.48
Already have an account? Log In

Transcript

Welcome back everyone with our retargeting done, we now want to set up our BP player to use the desired Skeletal Mesh, and animations. So here are all of our retargeted animations and our third person blueprint. So what we want to do from here is jump over to our Metroidvania Blueprints folder. come under our characters folder, there is our BP player, double click on this guy to open him up. And what we want to do is jump on over to our mesh component up here. And I'm going to jump over to our viewport so we can actually see the difference in the viewport tab as well.

So we don't want to use mannequin man here anymore. We want to swap in our SM Countess Skeletal Mesh so instead of SK mannequin let's look for SM underscore Countess There she is. And obviously she's looking rather rigid at the moment because we don't have an enum class blueprint assigned here yet. So what we want to do here is click this little drop down and do a search for third party. Well actually, you know what, instead of, we've got two competing ones right here that look rather similar in name. So I'm just gonna jump out of here.

Quickly, we're going to rename this animation blueprint that we just created in our animations folder. So let's jump back out of here. Let's go into our animations folder. And here's our third person anim BP asset that just got populated into this animations folder. When we did all the retargeting. I'm just going to right click on this really quickly, and I'm going to rename it f2 will also allow you to rename and I am going to call this let's call this Countess underscore, Nm B P. Okay, so now with that named, and actually note that I still have it selected here.

With it selected, I can go come back to my BP player and simply click this little arrow right here to use the selected asset from the Content Browser, which is my content, my Countess and MVP. And you can see the Countess has now since come back to life. Okay, so that is all well and good, but there is more I need to do back in that animations folder. So I'm going to quickly Compile and Save what I've got done here. And I'm going to jump back out to my animations folder. And I've got this asset right here called third person idle run to D. I'm also going to rename this asset I'm going to hit f2 on it.

And I'm going to call this one Countess underscore all you know Run. And then I'm going to double click on this to open it up. This is known as a blend space one D, and you'll see what this does in just a moment here. I'm going to dock this along the top. And what we've got here is a little preview window of our Countess. And it says down below in this little kind of graph area, if we click and drag and hold this green pin, you'll see how our Countess is animation will change depending on its speed value.

So with a speed value of zero, you can see that our Countess is going to be in an idle, when we reach a speed value of say, 93. We're going to be more in this walk. And as we gradually increase our speed, she'll get into more of a run. So this green dot right here, you can drag left and right just to kind of preview the different animations that are available. Just we'll go through as her speed increases. So we have the ability to set in this asset right here which animation she plays, depending on which speed she's going at.

And this is how it works over here on the left hand side. If I right click on this little dot, it'll allow me to assign a different animation for when our speed is zero. Currently is set to third person idle. I've got a few different options here that you can change it to, I'm gonna give you some options. There is I'm gonna going to click this little drop down there is idle pose, idle underscore pose. That one's pretty good.

Idle relaxed is the one I'm going to set it to. I personally like this one the best out of all the ones so I'm going to set it to this. But other ones that you can change it to and you can see it's just taking a little bit of time to Update here. You can also change it to another one is idle, straight. Consider that one is your idle pose. And we've also got idle travel mode pose.

Those are all some decent options there. I'm going to keep this idle relaxed. And so if I drag this preview all the way to the left, you can kind of see what our stance looks like there. Okay, the next one I'm going to right click on is this one right here. Currently it is third person walk. You don't want to think I'm going to keep that one but I am going to change out this far right one which is currently set to third person runs.

So I'm going to right click on this one. And instead of third person run, I'm going to set this to be jog underscore f, w d jog forward. There's different jog forward, there's like circle left, etc. I just want the jog forward like that. And another one you could do for that one is sprint forward. The sprint forward is a decent one as well.

Um, so that's another one to consider. So, let's see here, if we were to drag this all over to the right, you can kind of see what that's gonna look like. In third person walked do we want to change that, you know what, I think I am gonna be good with that one here. So, with this asset, our count is idle run one D acid here blendspace. I'm going to save this out and we may make Some changes to this later on, but I'm gonna be fine with it for the time being. So let's say this, and then we can exit out of here.

Next thing I want to do is jump over to our animation blueprint. And if you don't remember how to get there, if I jump over to my BP player right here, we've got our mesh components selected. Over here is our animation blueprint. This is what dictates which animations our character can play. And when, if we click right here, we can browse to that asset in the Content Browser, then double click on it to open it up. Now you're going to be automatically taken to this Event Graph tab right here.

We'll be explaining more what this particular graph does throughout the course. But I would like to direct your attention right now down to this lower left hand corner, under annum graph, click this little triangle to expand it out in you've got this default option right here. Click on that and when You click on that you are taken to a graph that looks something like this. Now, this is what is known as an animation state machine. And currently, this is what is driving our character to play which animation given a certain set of rules. For example, we have an action to jump start here.

And what is going to determine when our character starts there jumping Well, this rule determines there is if I can actually click on this rule, there is a boolean variable that asks is our character in the air when that is set to true, we enter the transition to begin starting our jump now, I'm not going to get too deep into each one of these different states right here and all the different rules. Just wanted to give you a quick primer as to what this is. There are a few different animations I want to swap out for Different states here. So starting with our jump start state here, we can actually double click on any of these states to change out the animation associated with them, you can double click on this jumpstart. And right now, I have got third person jumpstart associated with this. And you know what?

I think I'm gonna be fine for that for now, but I do want to change out the rule associated between our jumpstart and our jump loop. So I'm going to back up here and I can back up to our graph by coming back to our default over here. And right in here, I can change out which rule is associated with our transition from jumpstart to jump loop. So by double clicking on this, we can drill down into this rule and there is our current rule our third person jumpstart acid when the time remaining for that jumpstart asset is less than a 10th of a second, then we can enter into jumping back out here, our jump loop animation, I'm going to swap this out, double click on this, I'm just going to get rid of this third person jumpstart asset I'm going to go with, I'm going to right click and some empty space here, and I'm going to go get relevance.

If I just start typing in relevant, the one I'm looking for is get relevant, annum Time remaining jump start this guy right here. Now if I plug this in here, and I'm gonna say instead of less than a 10th of a second, I'm gonna say point three seconds. I'm saying whichever animation I have slotted as my jump start animation, when there is less than three tenths of a second of that remaining. I can transition from a jumpstart to my jump loop. Okay, so I'm just going to click right here to jump back on over to my state machine. And now I am going to swap out what animation is associated with my jump end.

And again, I can drill on into this animation hooked up to this date by double clicking on it. And currently I have the play third person jump set as my jump in state, I want something else here, there is an animation, and I could search for it down here in my Asset Browser. If I type in jump recovery, that's the one I'm looking for jump recrawl recovery and I can simply left click and drag and drop this into my graph. And the way to hook this up is to simply drag out of this little person output and plug it into this person and input in that now means that I will play this particular animation When I am ending my jump state, and if you want to know what this looks like, I can double click on it. This is going to jump me to what that animation is going to look like.

And even though it looks like a relatively quick animation, it will feel rather slow to us when we land from a jump in our game. So I actually do want to change some stuff about this. So what I'm going to do is come over here into this asset details. And I want to change the rate scale here from being 1.0 to 2.0, twice as fast that'll help us recover from our jump rather quickly, much more nicely. So I'm just going to save this that'll save the changes we made to our jump recovery animam. I'm going to exit out of this I'm going to come back to my Countess Anima BP and to jump back to where we Currently we're in our state machine, I'm going to click right here.

Clicking right here is the same as clicking right here default defaults. So I'm just going to double click right here. And the last thing I want to do is edit my rule between jump in and idle run. So I can do that by double clicking on this transition rule. And currently, it's set to third person jump asset. When less than a 10th of a second I'm going to change this out by deleting this and I'm going to right click in some empty space and the one I'm looking for his gets relevance real advance.

Annum Time remaining, jump in. So this is saying whenever the animation I have associated as my jump and whenever that has less than I'm going to say. 1.2 seconds remaining. Then I will transition from my jump end to my idle run. Now, where did I find these values? Basically, a lot of trial and error has helped me determine that these are the ones we're going to be looking for.

And we'll see some of this stuff in action here as we get moving along. But this should give us the results we're looking for. So again, clicking on this default button over here. This is our animation state machine. And what this consists of is different states. These are considered states right here.

Each of them has an animation associated with it, such as jump and has jump recovery animation associated with it. And in order to transition between these dates, we have a rule denoted by these little arrows. And you can double click in any of these to swap out what rule is associated with transitioning from one state to another. Okay guys, that is all I wanted to accomplish in this one that's a lot of heavy lifting going on behind the scenes that's gonna set us up well for what's to come. So let's Compile and Save this one more time guys that is going to do it all for this video. We will see you in the next one.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.