# Plane travelling in 3D

An image of a airplane is textured onto both sides of a squared geometry. The Point3SphericalAnim() is then used to construct a path along which the geometry is moved. The z-index of the DAControl object is being updated dynamically with the z-coordinate of the path the geometry is on. This makes the geometry move in front of and behind the text. The panning of the sound you hear varies with the x-coordinate of the path the geometry is on. To give the plane the correct orientation, the Normalize(), CrossVector3(), DotVector3() are use to calculate the correct angle of rotation.