CamOrient

From NexusWiki
Revision as of 00:11, 15 August 2009 by Hades (Talk | contribs)

Jump to: navigation, search

CamOrient(ship, heading, pitch, distance, time);

It sets the camera to a certain position according to a ship, in given time, the turnings are to be understood relative to the ship’s fore-axis. After the operation, the ship will be the looked ship. It doesn’t set roll=0, but it leaves the actual roll.

Heading : in degrees, 180 -> you will look from behind the ship when time ends Pitch : ? distance : distance from which you will see the "ship"