Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: krevett62 on February 16, 2017, 09:54:43 am

Title: Strange FRED behavior
Post by: krevett62 on February 16, 2017, 09:54:43 am
Hello again!
I don't know if it's me but I found when editing background that the pitch setting is working strange.
When heading is 0 or 180 it works as intended, raising above the horizon. But when heading comes close to 90 or 270, it behaves as reverse banking, rotating the bitmap.

I attach two small videos to illustrate, one were I change pitch at 0 heading and one were I do the same with heading set at 90.

Is this intended behavior??

Edit: Still using release 3.7.4 of FRED.

[attachment stolen by Russian hackers]
Title: Re: Strange FRED behavior
Post by: Axem on February 16, 2017, 11:13:13 am
What you're experiencing is called "gimbal lock" (https://en.wikipedia.org/wiki/Gimbal_lock). Basically the orientations you're applying are sort of cancelling out your intended movements. It affects cutscene cameras as well. The only thing I can suggest is just to... keep playing with stuff until it looks about right.
Title: Re: Strange FRED behavior
Post by: krevett62 on February 16, 2017, 11:23:03 am
Thanks Axem for the quick answer, I'll play with numbers then until I find out what is good for me!