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.

3 Dimensional Chat / sorry if this is REALLY simple....

Author
Message
sicjoshsic
22
Years of Service
User Offline
Joined: 8th May 2003
Location: United Kingdom
Posted: 18th Aug 2003 19:56
i'm working on a 3D shoot-em-up (have been for months) but the 1 major drawback i'm having is that I don't have a clue how to use a .x file as terrain. what I am doing is making indoor levels in anim8or/milkshape and then i hope to load them into dbc, but i have no idea how to set the collision detection properly so that they can be walked on. If anyone can help it would be great, and i hope to be able to write a function equivalent to "get ground height" but for objects. anyone help me?
Beta1
22
Years of Service
User Offline
Joined: 28th Dec 2002
Location:
Posted: 18th Aug 2003 20:46
www.darkbasicpro.com/apollo/view.php?t=10315&b=6

For everything you never wanted to know but will be forced to find out.

(Or just use the snippets provided!)

If all boils down to using the intersect object command to calculate collisions and distances within the level.

BTW DBPro only I think

arras
22
Years of Service
User Offline
Joined: 3rd Feb 2003
Location: Slovakia
Posted: 18th Aug 2003 22:04
If its static level then most easiest and fastest way would be to store coordinates (make raster or store info for each wall, flor and sters individualy) in array and use them for detecting if object is colliding or not.

Login to post a reply

Server time is: 2025-05-14 13:18:04
Your offset time is: 2025-05-14 13:18:04