CameraObjectID =  camera .create  (  PosX ,  PosY ,  PosZ ,  TargetPosX ,  TargetPosY ,  TargetPosZ  )  
                                                    
Description :

This instruction creates a "lookat" camera, specified by a camera position in world space and a "target" position in world space.

Parameters :

  • X component of the position.
  • Y component of the position.
  • Z component of the position.
  • X component of the target position.
  • Y component of the target position.
  • Z component of the target position.

Return Handle :

  • ObjectID of the camera if the creation was successful, NULL otherwise.

Examples :