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 / Collision woes

Author
Message
Baiame
18
Years of Service
User Offline
Joined: 8th May 2006
Location:
Posted: 9th May 2006 00:14
Hello, this is my first post.

I only got DBpro a couple weeks ago, and started my first ghetto project a few days in. I was able to fix all problems I came across until this seemingly inconsistent collision.

Basically, the bullets are always "destroyed" upon collision with the enemies, but often pass straight through other obstacles such as the ground. The thought that perhaps the ground wasn't large enough on the Y axis occured to me, but changing this didn't really help.

Any ideas? Cheers.
Mr Bigger
19
Years of Service
User Offline
Joined: 31st Jan 2005
Location: was here!
Posted: 9th May 2006 00:47 Edited at: 9th May 2006 00:57
Newcomers can't use the source box.Use the code button instead.
Press it once then paste your code in the message box and then press the code button again.

AMD 2600+/1GB DDR ram/GeForce 6600oc 256MB/W2KPro/DBPro 6.0
Better to remain silent and be thought a fool than to speak out and remove all doubt.
Abraham Lincoln
zenassem
21
Years of Service
User Offline
Joined: 10th Mar 2003
Location: Long Island, NY
Posted: 9th May 2006 00:53
your source didn't attach. Please repost and do what Mr Bigger said.
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 9th May 2006 10:29
If by 'the ground' you mean a standard matrix then normal object collision commands don't apply as the matrix isn't really an 'object' as such.

The equivalent of collision for matrices is GET GROUND HEIGHT.

Other than that, you have to calculate the collision yourself, or use something other than a matrix - ie a model.

TDK_Man

Baiame
18
Years of Service
User Offline
Joined: 8th May 2006
Location:
Posted: 9th May 2006 19:38
Okay, sorry about that.



As you can see, the ground isn't a matrix, just a massive cuboid. Maybe that's the problem?
Baiame
18
Years of Service
User Offline
Joined: 8th May 2006
Location:
Posted: 11th May 2006 19:29
Am I meant to not show up as the last poster?

Login to post a reply

Server time is: 2024-11-26 21:39:39
Your offset time is: 2024-11-26 21:39:39