FK animation

Hello Folks,

I hope you can give me advise on my problem. If ever I have a model with an FK animation, an animation that will steer the steering wheel of the car with the arms. As I opened the model in Unity and click Play Automatically, when I click Run the animation will play exactly turning left and right. I am new to Unity and I can’t start on how would I control/manipulate the animation since I want the animation to be dependent on my front wheel angles. I have already set up a working physics car. Any example on manipulating FK animations would be a lot of help.

I hope anybody can help.

Thanks

In script, set the speed of the animation to zero, that way it won’t animate.

You can then adjust the animation by manually updating the animation time value - depending on how you’ve animated your steering animation, 0 might be full left, 0.5 would be centered and 1 would be hard right. (if you make an animation where it takes one second to get from one extreme to the other)

Then as the car steers, you just adjust the time value back and forth so the character appears to be controlling the wheel.

Thanks Dude, I’ll try it…