Page 1 of 1

How do I create a moving head animation?

Posted: Sun Aug 04, 2019 5:50 am
by Halliverd 1 1
Hey guys, just wondering, how do I create the moving head animation on the pilot in ys flight

I have seen it in some planes before so I know its possible.

Re: How do I create a moving head animation?

Posted: Sun Aug 04, 2019 8:32 am
by RaptorRex35279
hmmm, sometimes on certain aircraft like 737s, you can use arrow keys to move the heads, though they would have to be detailed aircraft. I can't remember the pack name, but I had an air europa livery and an ANA livery where this worked.

Re: How do I create a moving head animation?

Posted: Sun Aug 04, 2019 2:59 pm
by Barr
If you already know how to use blender and make animations then you could either set the head with a rudder animation, gun turret or maybe even set it so it moves with aileron and elevator.

If you have never worked in blender it's time to get some snacks and watch/read all of decaffs animation tutorials

https://sites.google.com/site/ysdecaff/ ... -tutorials

Re: How do I create a moving head animation?

Posted: Sun Aug 04, 2019 5:00 pm
by decaff_42
In terms of how the actual animation is done, any flight-control surface animation can be used in order to get the left/right/straight ahead motion. In my F-35s, for example, I use the rudder for left right, and the elevator for head tilted up or down.

Re: How do I create a moving head animation?

Posted: Sat Aug 17, 2019 1:08 pm
by Flake
Everyone has hinted at it, but my 2c:

You need to set a child/parent combo.

Have an empty srf (null.srf) as assigned to elevator. Have a child srf (Head.srf) assigned as a rudder within that.

Now the elevator CLA will move the head up and down, but the rudder will move it left and right. Any combination of inputs can make it look in any direction. So elevator up, and rudder left will make the head look up and to the left.

Finally: Reverse engineer. If you've seen another model do something, have a look at how it works in the appropriate tools (Blender). You'll be amazed at how much you can learn this way. I reverse engineered YSFlight Netcode for years and the results have been telling. I built off the work of those before me (VincentWeb/Eric). You don't have to reinvent the wheel to understand how it works and make a better wheel - that's true for all facets of life.