Report this content
We want the Dreams coMmunity to be a safe, diverse and tolerant place for everyone, no matter their age, gender, race, sexual orientation or otherwise. If you believe this content to contradict these principles, you can file a report for our coMmunity teams to investigate.
Note that misuse of the reporting tool will not be tolerated.Item being reported:
Hi guys! I'm having somewhat of an issue :-) I have built a flight model which includes lift, thrust, drag mechanics - one of these elements detects the angle of attack (ie the angle of the plane pointing up or down) and recalculates what the top speed should be versus the current speed and accelerates up or down accordingly. As an example, the top speed in level flight is 140 m/s, the top speed in a vertical dive is 250 m/s and the top speed in a vertical climb is 0 m/s, with a n automatic calculation for every angle inbetween. If you are travelling at 140 m/s and dive, the logic accelerates towards the new top speed. Once you level out, the effective top speed lowers due to drag and the plane accelerates again. This is being calculated via an angle sensor on the plane attached to a splitter.
This all works well when travelling in a straight line, however as soon as you change the rotation on the other axis, the vertical angle goes wonky. If for example you turn the plane 90 degrees clockwise, and then climb, the vertical angle doesn't read correctly at all.
I've read another topic which talked about euler angles, and I will have a read up, but does anybody have any ideas at all?