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.

DarkBASIC Professional Discussion / BSP Collision Commands - What Do They Return?

Author
Message
MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 4th Sep 2002 19:02
As the function list doesn't show return values, I have the following question :

What does the BSP collision functions return - is it a general two things have collided value, or does it return object names/ID numbers ?
Yes, I really am THAT good...
haggisman
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 4th Sep 2002 19:49
Im guessing it just turns on sliding collision and doesn't return a value. The BSP COLLISION HIT command on the other hand would probably just return a 1 if a specific object hits the BSP. Though i dont really know as im not part of DBDN.

Specs:- 1GHZ athlon, Radeon8500, 192mb ram
MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 5th Sep 2002 12:35
I presume a .X object will be able to collide with something in a BSP 'world'...

It would be a bit of a problem if you can only get information about a collision, and not what has collided.

Yes, I really am THAT good...
Jmansr
21
Years of Service
User Offline
Joined: 28th Aug 2002
Location: Canada
Posted: 6th Sep 2002 07:04
I was told there are BSP COLLISION X/Y/X() returns. So you can find out the position of the collision.

Blue Blood FX
Check it out, RIGHT NOW!
http://64.239.107.66/bluebloodsoft/
MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 6th Sep 2002 19:37
That would be a pain if you had to compare X/Y/Z values against objects...

Yes, I really am THAT good...

Login to post a reply

Server time is: 2024-04-19 18:23:33
Your offset time is: 2024-04-19 18:23:33