Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: CAM PROBLEMS  (Read 8311 times)

0 Members and 1 Guest are viewing this topic.

Offline neilreed

  • Members
  • *
CAM PROBLEMS
« on: 11 Nov 2007, 22:26:56 »
Hello , people , iam having some trouble with a basic camera script , i want  to place this camera in front of player 5 meters and 1 meter up  but i get a position in the middle of the sea, with the camera bouncing up and down ? iam using desert island  please can anyone see what iam doing wrong

sample script ,

_cam = "camera" camcreate [0,0,0]
_cam cameraeffect ["internal", "back"]


_cam camsettarget player
_cam camsetrelpos [0,0.5,1]
_camera camSetFOV 0.700
_camera camCommit 0
~8


_cam cameraeffect ["terminate", "back"]
camdestroy _cam

titlecut [" ","BLACK IN",2]


exit

 

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: CAM PROBLEMS
« Reply #1 on: 12 Nov 2007, 02:05:04 »
One question, one topic please.

All replies here.


Planck
I know a little about a lot, and a lot about a little.