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.

Code Snippets / this has probably been done but i did it better :-p have a look

Author
Message
The Jackal
20
Years of Service
User Offline
Joined: 12th Mar 2004
Location:
Posted: 18th Mar 2004 21:40
I thought i wouls add this piece of code because when i first started i realised wait a mo my camera is going all the way around and back agen, obv this poses a problem for a first person shooter as (unless of course it is an exorcist shooter) peoples heads cant do a 360 degree spin. so this is for those people who cant be bothered to write their own.

NB i tried looking for another persons code which did this but it neva worked so i ended up writing my own

ENJOY


Aj

Now this is the law of the jungle As old and true as the sky
And the wolf that shall keep if may prosper
But the wolf that shall break it must die.
The Jackal
20
Years of Service
User Offline
Joined: 12th Mar 2004
Location:
Posted: 18th Mar 2004 21:41
will be adding it to the code base as well

Now this is the law of the jungle As old and true as the sky
And the wolf that shall keep if may prosper
But the wolf that shall break it must die.
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 19th Mar 2004 10:48
If its greater than 90, it has to be greater than 0. If its less than 270, it has to be less than 360.


"eureka" - Archimedes

Login to post a reply

Server time is: 2024-11-23 21:43:58
Your offset time is: 2024-11-23 21:43:58