How do I create a moving head animation?

Questions, comments, concerns, & fixes
Post Reply
Halliverd 1 1
Newbie
Newbie
Posts: 11
Joined: Thu Jul 26, 2018 12:31 pm
Favorite Aircraft: F 16
OS: Windows 7
Has thanked: 9 times
Been thanked: 3 times

How do I create a moving head animation?

Post by Halliverd 1 1 » Sun Aug 04, 2019 5:50 am

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.
Aerobatics my style

RaptorRex35279
Newbie
Newbie
Posts: 22
Joined: Wed Nov 14, 2018 6:44 am
Favorite Aircraft: 747
OS: Mac
Has thanked: 2 times
Been thanked: 2 times

Re: How do I create a moving head animation?

Post by RaptorRex35279 » Sun Aug 04, 2019 8:32 am

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.

User avatar
Barr
Veteran
Veteran
Posts: 1011
Joined: Wed Mar 28, 2012 8:49 pm
Favorite Aircraft: The Boeing 757
Location: Providence, Rhode Island
OS: Windows 10/Gentoo
Has thanked: 272 times
Been thanked: 205 times

Re: How do I create a moving head animation?

Post by Barr » Sun Aug 04, 2019 2:59 pm

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
Image
Beginner ATC for hire!
Current Projects:
-Pilatus PC12
-Mooney M20
-New England Scenery
Fine Print:
**Word of Caution**
My knowledge is limited. Anything I write in my posts may or may not be accurate. To be honest I think its all crap.

User avatar
decaff_42
Staff
Staff
Posts: 3563
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX
Has thanked: 627 times
Been thanked: 1364 times
Contact:

Re: How do I create a moving head animation?

Post by decaff_42 » Sun Aug 04, 2019 5:00 pm

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.
Check out my website YSDecaff for all my tutorials and addon releases.
Visit by Bitbucket page for Python codes: https://bitbucket.org/decaff42/

Server Flight Log
Addon Database Submit Addon To Database

User avatar
Flake
Core Staff
Core Staff
Posts: 4354
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 836 times
Been thanked: 1238 times
Contact:

Re: How do I create a moving head animation?

Post by Flake » Sat Aug 17, 2019 1:08 pm

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.
I am an accountant working full-time (and some). I'm not here as often as I would like to be. Send a message if you need me. There are a few people in the community who can get in contact with me urgently if you need - don't be afraid to ask. I just don't check here as frequently as I used to. Sorry!

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests