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 / I need a primitave collision solution! PLZ HELP!

Author
Message
Null Freq
20
Years of Service
User Offline
Joined: 16th Dec 2003
Location:
Posted: 6th May 2004 19:04 Edited at: 6th May 2004 19:30
Hello, USING DBC 1.13 Enhanced

I am new and want to make a simple collision of 2 boxes to get the hang of collision. I was hoping to achieve this myself but after 5 hours of researching I am breaking down and asking foe your guys help I've read all about the Nuclear collision DLL and all the fancy sliding collision and maybe someday I will be that advanced to care. BUT I JUST WANT THE CAMERA TO STOP WHEN IT HITS THE STUPID BOX IN THE CENTER OF MY MATRIX! heh sorry. If anyone could help me out here It would be appreciated much! Thank you!

P.S Theres a texture I loaded for the ground which I'm betting you don't have to just ignore it ~Source Code has been added below~




~Falling Down~
Null Freq
20
Years of Service
User Offline
Joined: 16th Dec 2003
Location:
Posted: 6th May 2004 19:10
Please ignore the messy newbie code

Or feel free to give pointers!

~Falling Down~
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 7th May 2004 05:25 Edited at: 7th May 2004 05:39
You'll have to iron out the bugs but this is primative off the top of my head.



[Edit] I didn't notice you had DBC I hope this works. I use DBP.

"People don't fail ..... they stop trying." Specs. P4 2.8GHz 800 FSB | 512MB DDR333
GeForce FX 5200 AGP 256MB | Windows XP Pro Full

Login to post a reply

Server time is: 2024-11-26 17:35:45
Your offset time is: 2024-11-26 17:35:45