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 / Need help rotating.

Author
Message
ReElectro
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location:
Posted: 28th Dec 2003 06:38
Ok, every thing is going what I have expected in my program, where the object is moving up while doing its free form rotation.

Now the only problem I need to solve is for not the plane to roll when I mean to pitch the plane up and down when the camera is viewing the plane sideways.

Is there a solution to this?

p.s. I'm avoiding the PITCH, TURN, and RLL commands because they appear to have incorrect rotations to them.
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 28th Dec 2003 06:52
Code helps...


Dont forget to Join the Forums!
ReElectro
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location:
Posted: 28th Dec 2003 07:07
Ok heres the code for the following problem:
ReD_eYe
22
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 28th Dec 2003 12:08
theres a thread in the code snippets forum with a good flight sim example in, check that out.


GO TO THE ETERNAL DESTINY FORUMS!!! http://forums.eternaldestinyonline.com
Do it now!!!
ReElectro
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location:
Posted: 29th Dec 2003 19:25 Edited at: 29th Dec 2003 19:30
There was an example program that tells you all types of rotations and different methods, and which one was useful or not..

I last time got it from the realgametools.com(which no longer exist).

I know how to do the real phsyics formula but the rotation is what need to get fixed without the simple PITCH, TURN and ROLL commands.

Because with AI, it will tottaly fubar things up with those type of commands. When I told use X,Y and Z rotate commands for AI flight and such.

Last time I was given a flight sim with real phsyics, the plane rolled when facing up and down.

Login to post a reply

Server time is: 2025-06-07 11:10:41
Your offset time is: 2025-06-07 11:10:41