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.

Code Snippets / 133 line bsp style sliding collision code for imported objects in DBC.

Author
Message
Kohaku
20
Years of Service
User Offline
Joined: 3rd May 2004
Location: The not very United Kingdom
Posted: 17th Jul 2004 10:43 Edited at: 28th Jul 2004 16:22
Edit:
For information on the progress of the conversion of this code, please look at post number three.

If you want to see the finished conversion to DBPro, then here you go:
http://forum.thegamecreators.com/?m=forum_view&t=36053&b=6

Original:

Hello People,

Well, I was browsing through the Code Base looking for some sliding collision examples for DBC, When I stumbled accross some rather neat code by some dude called Sparky:

http://developer.thegamecreators.com/?m=codebase_view&i=398ad5ba24f82319b72c58cb923854b2

Looking at the code, I found that it would be possible to easily introduce a .X or .3DS object into it, and it would still work.

With this in mind, I started to add to the code to make it more suitable for this. All it really needed was some gravity and another type of collision.



Hope it helps, as Sparky did when he made the original.

Feed back please.

P.S. Remember, you need to load an object or level in there for it to work. ;¬)

Infra-Dark
#coding, like coding, but with a #
http://www.knova.dbspot.com/
The Dark Padawan
21
Years of Service
User Offline
Joined: 5th Aug 2003
Location: USA!
Posted: 23rd Jul 2004 07:31
Nice Messing

"Nintendo GameCube is the best"
"I'm back! and Darker than ever!!!"
Kohaku
20
Years of Service
User Offline
Joined: 3rd May 2004
Location: The not very United Kingdom
Posted: 27th Jul 2004 10:49 Edited at: 28th Jul 2004 16:11
Cheers.

Right, some how, this code crept into the newsletter, and since then, its had quite a few views.

With this in mind, I feel the need to tell you all that I'm still working on this code, and not only that, but I'm also working on a conversion of the code to DBPro.

You can find an early version of the conversion on the KNova site (in my sig), and when its done, it will be sent to this forum aswell.

A big thanks to the people who got this in the newsletter!

Update:

The conversion has been completed, and will be in the forums within the week.

Update:

Stayed up for a day or two and finished the code conversion:

http://forum.thegamecreators.com/?m=forum_view&t=36053&b=6

Infra-Dark
#coding, like coding, but with a #
http://www.knova.dbspot.com/

Login to post a reply

Server time is: 2024-11-23 19:27:13
Your offset time is: 2024-11-23 19:27:13