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.

Newcomers DBPro Corner / camera problem

Author
Message
Jools64
18
Years of Service
User Offline
Joined: 29th Aug 2006
Location:
Posted: 29th Aug 2006 22:36
Hey guys

Im making a small simple hover craft game (my first)
but iv got a problem with the camera...

Im tring to make the camera face the way the vehicles going but every time I turn the vehicle round the camera stops half way and turns back away from the way from the way the vehicles facing.

im using this code:


I hope you understand.

Thanks.

..::..::..
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 30th Aug 2006 03:58 Edited at: 30th Aug 2006 03:59
For some reason it doesn't like it when you use the TURN OBJECT commands for steering. (my guess is that that's what you're using)

Try


for turning right (because when it's positive (i.e. the +1) it goes right). Just make it negative for turning left (Make +1 into -1) Wrapvalue just keeps the number within a valid angle range. Good luck!

Jools64
18
Years of Service
User Offline
Joined: 29th Aug 2006
Location:
Posted: 30th Aug 2006 15:31
thanks =D

..::..::..

Login to post a reply

Server time is: 2024-11-26 11:55:10
Your offset time is: 2024-11-26 11:55:10