Jump to content
Sign in to follow this  
MaxPower44

Trouble with camera

Recommended Posts

I have write a script to create a camera object that target the player at position [x,y,z+20]. But I don't know how have the top of screen in the north direction.

I try with camsetDir, don'twork (like camsetBank and camsetDive) and with setDir.

getDir mycamera => 0

mycamera setDir 90

getDir mycamera => still 0

Any idea ?

Share this post


Link to post
Share on other sites

Just set position of camera little bit to south.

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">

_cam camSetPos [x,y-0.1,z+20]<span id='postcolor'>

It shoud work.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×