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.

Newcomers DBPro Corner / 3d collision problems

Author
Message
Hepy
20
Years of Service
User Offline
Joined: 16th Apr 2004
Location: United Kingdom
Posted: 18th May 2004 20:24 Edited at: 18th May 2004 20:57
i have the character object and some stairs in a matrix, on collision with the staircase how would i make the object character rise progressivly the the height of the staircase?

Hepy
Lampton Worm
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: United Kingdom
Posted: 19th May 2004 00:44 Edited at: 19th May 2004 00:45
Hi there,

I can't take credit for this code, but I remember seeing it in my archive recently - its not tested either, so not sure if you can just plug in to what you have and play...



...hang on, found this too:



EDIT: also, may be worth checking out the demo of NG's DLL, www.nuclearglory.dll

Hope it helps,
Cheers.
nuclear glory
20
Years of Service
User Offline
Joined: 2nd Oct 2003
Location:
Posted: 19th May 2004 20:23
Greetings,

Yes, our system handles stairs like that (just not for matrixes... yet)

Link is: http://www.nuclearglory.com

Lead Programmer/Director
Powerful Collision DLL for DBPro and DBC: http://www.nuclearglory.com
Hop a long
20
Years of Service
User Offline
Joined: 12th May 2004
Location: The Code Dump
Posted: 20th May 2004 02:07
Hi Lamp

Your code looks interesting. Thanks for taking the time to post it.
Have you done any work with Magic World?
Sparda
20
Years of Service
User Offline
Joined: 13th Jan 2004
Location: Pacifica
Posted: 20th May 2004 03:09
Yes, Nuclear Glory will probably help, but I would recommend first trying to write your own collision engine. This way you'll have a much better understanding for collision detection. The best way to start is with the intersect object() command.

There 10 kinds of people, those who understand binary and those who don't

Login to post a reply

Server time is: 2024-09-22 10:36:48
Your offset time is: 2024-09-22 10:36:48