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 Discussion / i'm having collision problems in my game

Author
Message
Mike Schlueter
19
Years of Service
User Offline
Joined: 28th Nov 2005
Location: Somewhere that I\'m not suppose to be
Posted: 13th Dec 2005 18:31
i'm really stump on my collision problem. i've made a flagship that you start on and i want it so you can't go through the ship. i've read that how to make a fps forum and he was taking about that if you turn on the collision on the object with a space the collision box would prevent you from going in to the empty space. so i'd didn't want that so i glued a couple of boxes to the object but when i trun on the collision for the boxes i still go throught the boxes. i've tried everything in the dbc command section about collision even the tutorials about collision even using the character collision box. i gotta go. plz help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 13th Dec 2005 20:30
Some code might really help here. For sliding collision, it's indeed the easiest using collision boxes. Else, ordinary collision detection should do. But you said you already read that.

Please some code?

Immunity and Annihalation makes Immunihalation...
Mike Schlueter
19
Years of Service
User Offline
Joined: 28th Nov 2005
Location: Somewhere that I\'m not suppose to be
Posted: 13th Dec 2005 21:30
here is the code

Mike Schlueter
19
Years of Service
User Offline
Joined: 28th Nov 2005
Location: Somewhere that I\'m not suppose to be
Posted: 13th Dec 2005 21:35
i took out the collision code a while back because i got sick and tired of it and attepted to fix my light problem, which i posted a few day ago.

Login to post a reply

Server time is: 2025-05-22 21:52:55
Your offset time is: 2025-05-22 21:52:55