- Home /
Animator.MatchTarget
Well i'm trying to use MatchTarget to make my character climb where the target is. So i made a sphere as target
[CODE]anim.MatchTarget(LiftTarget.position, LiftTarget.rotation, AvatarTarget.RightHand, new MatchTargetWeightMask(new Vector3(1, 1, 1), 0), anim.GetFloat("JumpUpMatchStart"), anim.GetFloat("JumpUpMatchEnd"));[/CODE]
And when i do that, my char does animation, and just teleports to the target for some seconds, what's wrong ?
And how do i use [CODE][/CODE][CODE/] things, so i tag my codes like everyone else does, and yes i had read this: http://forum.unity3d.com/threads/143875-Using-code-tags-properly
Your answer
Follow this Question
Related Questions
Get in car - Target Match 1 Answer
Mecanim Target Matching isn't working!! 0 Answers
iOS game: Is it possible to target iphone 4 and ipad only? 1 Answer
2D Enemy AI X-way only 1 Answer
Simple question about targetting 0 Answers