I want to add 2 simple animations when my Character jumps
var PlayerBossController : GameObject;
var JumpAnimSec : GameObject;
function PlayAnims()
{
if(PlayerBossController.isGrounded)
{
JumpAnimSec.animation.Play(“Jumpingliftoff Animation”);
}
if(PlayerBossController.isGrounded)
{
JumpAnimSec.animation.Play(“Jumpingland Animation”);
}
}
What am i doing wrong? He doesnt make any animation ![]()
![]()
![]()
![]()