Here’s what I wanna do,
I have a character, and I want him to jump, and landing with a landing animation. so…I just wanna ask how can I code a landing situation…I mean, I wasn’t on the ground, and I was falling, then when I just suddenly touch the ground, I can perform a landing animation.
I tried a simple way before like
if(!isGrounded)
{
if(isGrounded)
{
animation;
}
}
and it didn’t work…so seeking for a unity answer here…
thanks for helping!!