0
\$\begingroup\$

Yesterday I played around with Unity 4.6 and I came up with a question about animation.

I have an fps-survival project (most for educational purpose).

I use the default build-in fps camera controller that comes with unity asset and adding a script for head-mob.

Now I animate a "falling" animation. The animation is in the First Person Controller object. Although I have two "arms" as children in my FPS controller, I want in each frame of my animation to move the arms but when I click in the each arm , the animation window don't show me the correct state of the animation, and I need to get back to where I attach my animation to show again. I don't know what to do. I can't animate the hands in seperate file cause I don't see the falling frame from the FPS controller.(which is more a visual than a technical problem)I want to point out that I need to use both my hand objects and I am preety novice so if you could tell me in steps what to do.

I attach some images bellow to see how my enviroment is setted up.

When I select the FPS controller

After I select each hand

\$\endgroup\$
  • \$\begingroup\$ Could you post a screen with the animators? \$\endgroup\$ – Leggy7 Jul 13 '15 at 9:38
1
\$\begingroup\$

You want to add the different clips to the FPSController Animator so when you create your fall animation it will be with the others in that controller like walk , run ect ..

You will animate the hands movements and record the movements from the FPS Controller animation window.

Animation

The Animator Controller

enter image description here

\$\endgroup\$
  • \$\begingroup\$ Ok how do I do that? Is there any tutorial? Please If you find the time to write me the steps then I will be thankfull! \$\endgroup\$ – Nikos KLon Jul 13 '15 at 7:03
  • \$\begingroup\$ When you click on the Add Clip after you select it like you have in the first image you can then open the tree of your person and through the animation window select the hands. don't just select the hands object because then it will create a additional animator that will not be linked to the one you want. I'll add a link to better explain \$\endgroup\$ – Justin Markwell Jul 13 '15 at 13:32
  • \$\begingroup\$ Justin I can't use the aAnimator. I made so many animations. I will lost them all now. :'( Please is there any way to save my work? And I can't find a tutorial tat explains the animator (not the official one is good) It's all so difficult. Aahhh I change the Animation type of my animation clips to 2 so I can drag them into the Animator. But what do I do now? \$\endgroup\$ – Nikos KLon Jul 13 '15 at 16:17
  • \$\begingroup\$ I added a image of what the controller should be similar to after you correctly create the clips. I would re-work the animations so they are created properly and wont have unexpected behavior like moving to the position they were created at. If you have trouble just start with a few small things like a coin collect animation and work up to more complex objects after you have a firm understanding \$\endgroup\$ – Justin Markwell Jul 13 '15 at 16:42
  • \$\begingroup\$ Justin thank you. You see im a student Engineer. I figure out how to do it with Scripting. I know it would be easier with animator but for me some lines of code is simplier than Animator. When I'll start a new project I'll use the Animator Compoment. Thank you agian for your time. \$\endgroup\$ – Nikos KLon Jul 14 '15 at 11:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.