Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / How to limit the camera view angle ?

Author
Message
Kiray
12
Years of Service
User Offline
Joined: 22nd Dec 2011
Location: France
Posted: 12th May 2013 00:20
Hi !
I want to limit the angle of the camera of the Y axis of the player.
I have found this but it doesn't work on the v120 :
http://forum.thegamecreators.com/?m=forum_view&t=194593&b=21

Someone can help me ?
Corno_1
14
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 12th May 2013 17:14
maybe this help you:

$CAX - Camera’s angle around x-axis
$CAY - Camera’s angle around y-axis
$CAZ - Camera’s angle around z-axis

Corno_1


Kiray
12
Years of Service
User Offline
Joined: 22nd Dec 2011
Location: France
Posted: 12th May 2013 19:58 Edited at: 16th May 2013 20:16
Thanks for your reply

Yes, I want to use the variable $CAY to limit the camera angle on the Y-axis but it doesn't seem to run

I have used this (with the help of the topic quoted) :

With this code the camera should be limited as this:


But it doesn't work.

Someone to help me ?

-Kiray
Kiray
12
Years of Service
User Offline
Joined: 22nd Dec 2011
Location: France
Posted: 17th May 2013 21:38
Help

Login to post a reply

Server time is: 2024-11-23 13:50:16
Your offset time is: 2024-11-23 13:50:16