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 / car game help plees

Author
Message
Stig Design Stig Magne
19
Years of Service
User Offline
Joined: 23rd Mar 2006
Location: Norway
Posted: 31st Aug 2008 16:47
Hello i am working on a Car Game that let`s you select a car then style it with difrent type of parts Then Start on a Matrix LandScape but i don`t Know how to get the car moving after the matrix i havent created the matrix code yett but Here is the cod i have founded on this forum that might work for me

here is the code for matrix tilting



and here is the code for car movement


but i don`t know how to get them work to gether i have tried but i havent gotten it worked so if some one getting it to work so plees poast and i will give credit`s
ps.
the car is Object 1 that need to folow the matrix tilt angel and with the same car movement code plees help am stuck

**StigDesign** cheap 3D Modell Pack`s at www.stigdesign.piczo.com (for Home&Comersial use)soon other aplication`s
BN2 Productions
21
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 31st Aug 2008 20:40
If you check out my challenge entry a couple challenges back, I did just that. I used 3 objects positioned at 3 of the 4 corners of the vehicle, but at the height of the ground and used some trig to figure out the angle between them. It looks like the code you have does just that though.

Really though, that is the problem with simply copying code from the forums, they don't usually interface well, unless they are functions. What you should do is look at the code and understand how they did it, then re-do it yourself.

Ever notice how in Microsoft word, the word "microsoft" is auto corrected to be "Microsoft" but "macintosh" just gets the dumb red underline?
Stig Design Stig Magne
19
Years of Service
User Offline
Joined: 23rd Mar 2006
Location: Norway
Posted: 31st Aug 2008 21:40
ok thank`s al try that actualy i am doing that right now

**StigDesign** cheap 3D Modell Pack`s at www.stigdesign.piczo.com (for Home&Comersial use)soon other aplication`s

Login to post a reply

Server time is: 2025-06-07 07:03:00
Your offset time is: 2025-06-07 07:03:00