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.

Dark GDK / How to get the angle of the floor

Author
Message
sempre
19
Years of Service
User Offline
Joined: 7th Jan 2005
Location: Puerto Rico
Posted: 10th Jan 2005 21:33
Greetings,

what aproach is recomended to get the angle of the floor in the

DGSDK?
Cellbloc Studios
20
Years of Service
User Offline
Joined: 15th Mar 2004
Location: Atlanta, GA
Posted: 11th Jan 2005 00:50
I'm trying to understand you, can you rephrase that again please?

-This...is my boomstick!
sempre
19
Years of Service
User Offline
Joined: 7th Jan 2005
Location: Puerto Rico
Posted: 11th Jan 2005 02:49
hey,

im developing a 3d racing game. Since the floor in the game can be

irregular, for example, it can have ramps, downhills, bumps etc...

I want to find the angle in which the floor is inclined so that i

can orient the car in the same angle (x). Im using dbObjectIntersect

() for collisions. Here is part of the code:




thanks for help!
sempre
19
Years of Service
User Offline
Joined: 7th Jan 2005
Location: Puerto Rico
Posted: 11th Jan 2005 09:59
you can get a copy of the demo and see for yourself here:

http://www.gslpr.com/Files/Racer.rar

Login to post a reply

Server time is: 2024-03-28 10:34:37
Your offset time is: 2024-03-28 10:34:37