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 / Plane Physics

Author
Message
Jimmah
21
Years of Service
User Offline
Joined: 14th Feb 2003
Location:
Posted: 14th Feb 2003 22:00
Hey,
Iv been trying to do some Plane Physics in DB for sometime now and can't seem to get it to work correctly, the problem is that Pitch does not work correctly. It always rotates using the X axis, so when I turn the plane then try to pitch it up or down, it messes up. Can anyone help please?

Regards
Jimmah

P.S.
http://www.outwar.com/page.php?x=348383
Chiwawa
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 14th Feb 2003 22:41
fuck pitch!
Jimmah
21
Years of Service
User Offline
Joined: 14th Feb 2003
Location:
Posted: 15th Feb 2003 00:38
Well can you suggest a better way of doing the physics then

Regards
Jimmah

Chiwawa
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 15th Feb 2003 01:01
yeah...do ur own movement..cause i guest u use move object...and use 2 object ..for ur plane..i mean make a little cone or wathever...and glue ur plain on it..and use the cone for Y rotation..and use the plain for ZX rotation...and for the movement ..use simple trigonometry..
QuothTheRaven
21
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 15th Feb 2003 02:08
Chiwawa please watch the language, you never know when a lil anklebiter will come a todlin' up the puter.
Chiwawa
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 15th Feb 2003 05:00
is that an expression??..."todlin' up the puter" i am french ..sorry for..all these hmmmm .....you know.. i will to talk a little bit more ..."englishly correct"
It is because abitually when i talk english ..its on MSN and other thing like that ..in real time "messageing" ..then i need to be fast ..then i screw up the language..sorry.. im like that in french to..
QuothTheRaven
21
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 15th Feb 2003 05:06
a *child* or *son or daughter* viewing *swear words* on the computer screen is *bad*. do not swear.

stupid french lol
Chiwawa
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 15th Feb 2003 08:40
ooo .....u mean .. the "fuck" lol....i was thinking u were talking about.....something else ..lol stupide english "fuck fuck fuck" =)
John H
Retired Moderator
21
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 15th Feb 2003 22:09
HE SAID STOP SWEARING

Oooooooooooo puffy someone needs a ban just kidding- cool it though.....

RPGamer

Current - RPG: Eternal Destiny : Help Wanted!
http://www.halbrosproductions.netfirms.com
Dont ask those questions! Read the help files lazy!
John H
Retired Moderator
21
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 15th Feb 2003 22:15
BTW- its Chihuahua (i think )

RPGamer

Current - RPG: Eternal Destiny : Help Wanted!
http://www.halbrosproductions.netfirms.com
Dont ask those questions! Read the help files lazy!
Chiwawa
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 16th Feb 2003 02:40
lol maybe... but im chiwawa =)

hmm i dont think so....damn..i did not find it in dictionnary T_T
Chiwawa
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 16th Feb 2003 02:42
lollll reaven...u 15 years old..then its u who should not read that it should have a censure ..script for those who r less than 18 =)
Shadow Robert
21
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 16th Feb 2003 05:04
not really because as an adult your expected to behave yourself

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
Chiwawa
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 16th Feb 2003 07:06
yeah i should but i could not...
and i was not ...talking to u ...i was talking to QuothTheRaven ...
Jimmah
21
Years of Service
User Offline
Joined: 14th Feb 2003
Location:
Posted: 16th Feb 2003 20:28
Thanx for your help guys. I have no idea why I didnt think of using an extra object/cone. I just feel stupid now Ill just have to look back at the world I created, smile and carry on programming
BTW I used newxvalue and newzvalue for moving forward and yRotate Object n wrapvalue(a#), would you recommend any other way? Im fairly good at programming, just not so much at the motion/movement side of things

Regards
Jimmah

Chiwawa
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 16th Feb 2003 22:24
hmmmmmmm it a ..plane game right? ..then how can u user newxvalue and newzvalue ..for 3d deplacement..it work only in 2D....

u should use your own....trigonometry...ive done 3 function...ill give it to u:



function XYZvalue(x#,z#,ay#,L#)
where X is the current X
Z is the current Z
ay is the curent Y angle
and L is the ....distance u want to move..


this work on a matrix..but in air it should work ..better ...u just got 2-3 little modification to do...

and ill give u an example ..how to ..use it...

and ..it work fine..cause it position the object EXACTLY at the right Y position without "get ground height" ...then..

i konw that the example is a little bit long..but the other one have external media..and .....i dont have time to do a little example..

if u r not able to ..modofie it for.."air moving" ..say it..ill modifie it...oo and if u want to play my game...touch the three with the right arm they fall

Chiwawa
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 16th Feb 2003 22:25
and ..there is no external media...then u copy/past..thats it..

Login to post a reply

Server time is: 2024-05-18 11:21:03
Your offset time is: 2024-05-18 11:21:03