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 / Joystick flight

Red general
Years of Service
User Offline
Joined: 19th Nov 2002
Location: United Kingdom
Posted: 13th Dec 2002 23:55
I have been trying to get a flying game. I try to use the joystick for this. however I have been having problems with this. I wanted to have the stick to control the y and x rotation, and the fire button for ecceleration.

However if I rotate round on the y (y being the sidways), the x (the x being verticle) will not rotate from the centre of the modle, but from the orrigional position. Also I can't move forwards. What am I doing wrong?
The Darthster
Years of Service
User Offline
Joined: 25th Sep 2002
Location: United Kingdom
Posted: 14th Dec 2002 00:18
The xrotate and yrotate commands tend not to work exactly as you'd want, but I don't see anything obvious. Here's my space flight sim, but altered to take joystick controls.

Login to post a reply

Server time is: 2023-09-29 09:42:06
Your offset time is: 2023-09-29 09:42:06