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 Sliding collision?

Author
Message
PiratSS
21
Years of Service
User Offline
Joined: 18th Oct 2002
Location:
Posted: 29th Dec 2003 00:25
I am using the BSP COLLISION HIT command, it says that somehow I could use the BSP COLLISION X, BSP COLLISION Y and BSP COLLISION Z for sliding collison.

Also, how can I check if I collide with the floor. Does it have a special index?

Thanks!

Dual AMD Athlon MP 2x1GHZ | IBM 15000Rpm SCSI 73.4 Gb X 2 | e-GeForce Ti4400 | Audigy 2 + 7.1 Surround sound | 17' Monitor | Ugly mouse
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 29th Dec 2003 01:19
look into the command: SET BSP OBJECT COLLISION n,n,n,n

this will set a collision sphere around your object and dbp will handle all the collisions for you, sliding or otherwise. If you still need help I have some code to show the necessary initializations.

-RUST-

VB.NET makes me all goose-pimply! http://www.mod2software.com
PiratSS
21
Years of Service
User Offline
Joined: 18th Oct 2002
Location:
Posted: 29th Dec 2003 01:55
Yes plz! I couldn't figure that out,

Can u post it here?

Dual AMD Athlon MP 2x1GHZ | IBM 15000Rpm SCSI 73.4 Gb X 2 | e-GeForce Ti4400 | Audigy 2 + 7.1 Surround sound | 17' Monitor | Ugly mouse
PiratSS
21
Years of Service
User Offline
Joined: 18th Oct 2002
Location:
Posted: 29th Dec 2003 02:44 Edited at: 29th Dec 2003 02:47
I got it mostly figured out now. I got the guy moving+sliding collision, but 1 more question:

-Why is my md2 animation jiggling

Dual AMD Athlon MP 2x1GHZ | IBM 15000Rpm SCSI 73.4 Gb X 2 | e-GeForce Ti4400 | Audigy 2 + 7.1 Surround sound | 17' Monitor | Ugly mouse
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 29th Dec 2003 03:30



this is modified from the manul tutorial of a fps using mouselook & arrow keys for movement (note: L and R arrow strafe, not pivot)
You'll need to modify it with your objects/models to get it to run. Also I was test mousepick and camera/dummy objects attachment techniques

play around and let me know if you need anything else and remember this code was just a test, not from a game

-RUST-

VB.NET makes me all goose-pimply! http://www.mod2software.com

Login to post a reply

Server time is: 2024-05-03 23:43:35
Your offset time is: 2024-05-03 23:43:35