Log in or register to post comments

animating multiple objects + audio on tracker found.

February 23, 2012 - 8:20pm #1

Hi im currently trying to figure out how to run animations for 4 seperate objects on tracker found .

ive tried other examples on this forum but have had no luck . :confused:

GameObject go = GameObject.Find("claw");
go.animation.Play("claw anim idle");

works fine for one object but when i tried

GameObject go = GameObject.Find("claw");
go.animation.Play("claw anim idle");

GameObject clawlight = GameObject.Find("clawlight");
clawlight.animation.Play("claw light idle");

only the claw worked .

ps this is in the trackereventhandler.cs script ,

pps im a code newb.

Log in or register to post comments