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.

DarkBASIC Discussion / simple camerea (not working!!!!!)

Author
Message
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 17th Mar 2005 00:30 Edited at: 17th Mar 2005 00:37
camera problems, any one no the answers.

i have made this simple code for a 3rd person camera. THIS IS ONLY A SMALL SNIPET OF IT
what it dose is it tracks the player but i added it some to it so that when you press R or T the camerea rotates. but i cant get it so when you move via pressing up down left or right thet the camerA GOSE BACK TO ZERO. remeber code is missing this is only a snnipet from my program all the arrays and variblres are not in the code snippet. !
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 17th Mar 2005 00:39
oops sorry the wrong code error dose not work propearly
here the write stuff
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 17th Mar 2005 02:44 Edited at: 17th Mar 2005 02:45
if no one understood what i meant then this will make sense.

if you press r or t it will rotate the camera so you can have a look at him (the caharacater) but soon as you move by pressing an arrow key i want the camera to go strght to folow his back again.
This is a 3rd person game!!!

Login to post a reply

Server time is: 2025-05-23 19:32:10
Your offset time is: 2025-05-23 19:32:10