Difference between revisions of "CamOrient"

From NexusWiki
Jump to: navigation, search
(Created page with ''''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...')
 
Line 2: Line 2:
  
 
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.
 
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"

Revision as of 00:11, 15 August 2009

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"