29 Dec 2009
9 Jul 2010
In this video demo, we walk through the steps of animating the 3D motion of a 747 aircraft given a helical trajectory described in parametric form. The challenge is to make the aircraft move such that its axis of symmetry is always pointing along the velocity vector. By reducing the problem to circular motion, we devise a strategy by which we are able to do the same. However, when we extrapolate the solution to the actual trajectory, we see that the aircraft does a "mysterious" 360 degree flip at well-defined points in the trajectory much like the manner in which the pilot did for the first test flight for the 747.
Can you figure out the loophole in this strategy and correct the code to eliminate this flip?
The files are located here:
I also added the solution and couple of enhancements to this demo:
Fly a 747 with MATLAB: Adding Realism, Quaternions, Trajectory Tracing
Fly a 747 with MATLAB: Multiple Views in a GUI, Dynamic Lighting:
Fly a 747 with MATLAB: Shaky Camera Effect, Sound Effect: