Difference between revisions of "CamMoveTo"

From NexusWiki
Jump to: navigation, search
(Created page with ''''CamMoveTo'''(positionx, positiony, positionz, lookatx, lookaty, lookatz, roll, time); The ’position’ is the intended position of the camera, while ’lookat’ is the loo...')
 
(CamMovetoships needs entry)
 
Line 2: Line 2:
  
 
The ’position’ is the intended position of the camera, while ’lookat’ is the looked point.
 
The ’position’ is the intended position of the camera, while ’lookat’ is the looked point.
 +
 +
 +
'''CamMoveToShip'''(positionx, positiony, positionz, lookedship, roll, time);
 +
 +
Here you can define a ship as a looked point, which will turn into the looked ship in the game too. It follows from this that the position gives only a starting position of the camera, since when the ship moves, it follows (it will keep the relative distance).

Latest revision as of 20:25, 20 June 2009

CamMoveTo(positionx, positiony, positionz, lookatx, lookaty, lookatz, roll, time);

The ’position’ is the intended position of the camera, while ’lookat’ is the looked point.


CamMoveToShip(positionx, positiony, positionz, lookedship, roll, time);

Here you can define a ship as a looked point, which will turn into the looked ship in the game too. It follows from this that the position gives only a starting position of the camera, since when the ship moves, it follows (it will keep the relative distance).