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 / strange collision happenings

Author
Message
Stormbringer
22
Years of Service
User Offline
Joined: 1st Oct 2003
Location:
Posted: 14th Nov 2003 18:29

hello im still new to this.
This is the situation, ive made my room with 4 walls, each wall is made up of 5 boxes horizontaly,(it was the only way to get my texture to scroll properly seeing how i need multiple faces).
Because at this point I can't get static collision to function for me i've made collision boxes for each box making up the walls. now , the collision seems to function fine untill the very corner of the collision box of my vehicle hits the very corner of collision boxes of the wall(not the corner of the walls but the boxes making up the individual wall itself)the vehicle will pass through the wall diagonally. I,ve tried increasing the collision boxes so that the overlap each other but this still happens at the same point on the wall. any ideas as to how this situation may be cured? I was hoping that i could just use DBP for making walls instead of using a modeler seeing how getting uv mapping to import correctly can be a pain for me. The texture is a diagonal yellow caution strip that i would like to keep without switching to a solid texture over one solid face just for simplicity reasons.
thanx
CattleRustler
Retired Moderator
22
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 14th Nov 2003 18:54
do you have collision set up on your vehicle?

-RUST-
Stormbringer
22
Years of Service
User Offline
Joined: 1st Oct 2003
Location:
Posted: 15th Nov 2003 00:52
yes, i have collision set on the vehicle. it works fine when you hit the wall head on or at a slight angle, but when the very corner on the vehicle collision touches any of the corner of the boxes that make up the collision for the wall, SWISH it glides right through the wall on a diagonal movement. basically the corners where the collision boxes for the wall connect to each other. I've tried static to create for the whole wall but i get no where with it so i put up collion boxes for each block that makes up the wall.
Sonic
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: UK
Posted: 15th Nov 2003 02:18
Perhaps you have a problem because you're colliding with two walls at once?

"My ignorance amuses me..."
http://www.victory-road.co.uk

Login to post a reply

Server time is: 2026-07-26 12:33:27
Your offset time is: 2026-07-26 12:33:27