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.

3 Dimensional Chat / limiting the camera angle (noobie question)

Author
Message
dukbil
21
Years of Service
User Offline
Joined: 26th Apr 2003
Location:
Posted: 26th Apr 2003 16:51
Can someone show me how to limit the camera angle to 75° below the center and 75° above for example. al my attempts have been miserable failures. for now all i have is a person who can rotate his head all the way round on all angles!
dukbil
21
Years of Service
User Offline
Joined: 26th Apr 2003
Location:
Posted: 26th Apr 2003 19:36
It's ok I found it, I just used
if cos(CameraAngleX#)<0.5 then CameraAngleX#=OldCamAngleX#
and it works. I knew all those trig classes would come in handy someday lol! thanks anyway.
actarus
21
Years of Service
User Offline
Joined: 29th Aug 2002
Location: 32 Light Years away
Posted: 26th Apr 2003 23:55
hehe gotta love that trig.

Caught by the Fuzz,well I was,still on my buzz
In the back of the Van,with my,head in my hands

Login to post a reply

Server time is: 2024-04-27 07:58:32
Your offset time is: 2024-04-27 07:58:32