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 / Get Ground Height for BSP

Author
Message
Rob K
Retired Moderator
21
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 27th Sep 2002 00:52
Can we have a Get Ground Height for BSP command please.

This would be very useful for camera & object placement.
what is a signature?
rapscaLLion
21
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 27th Sep 2002 03:06
yes, PLEASE PLEASE PLEASE!!! I can't figure out how to otherwise implement stairs properly!!!

Alex Wanuch
aka rapscaLLion
Get the DB Weekly Newsletter at www.dbwn.cjb.net
Richard Davey
Retired Moderator
21
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 27th Sep 2002 03:38
Surely for stairs you can just use the bsp collision commands to let your player walk up them. Providing the player is positioned in a sensible place to start with it will work fine (i.e. place them on the map not stuck in a wall or something). Then use the camera to object tracking commands to let it slide smoothly around walls, etc.

Doesn't help with object placement too much (you still need to know the right height, etc) but definitely helps with stairs.

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
rapscaLLion
21
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 27th Sep 2002 14:54
Well, I have tried that. The main problem is that you can only detect collision with a spherical coll area...

Alex Wanuch
aka rapscaLLion
Get the DB Weekly Newsletter at www.dbwn.cjb.net
Richard Davey
Retired Moderator
21
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 27th Sep 2002 15:09
Hmmm.. I will check when I get home but I find it very hard to believe that would stop you doing what you want to achieve.

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
Rob K
Retired Moderator
21
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 27th Sep 2002 18:53
Still, I think GET GROUND HEIGHT for BSP Maps would make life very easy, wouldn't you agree?

Here is one further idea,

AUTO GRAVITY (Collision Index)

... with the default being 10.

what is a signature?

Login to post a reply

Server time is: 2024-04-26 17:41:56
Your offset time is: 2024-04-26 17:41:56