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 / Sparky's Collision + Large Map (1 model) = No collision?

Author
Message
2Beastmode4u
15
Years of Service
User Offline
Joined: 14th Feb 2011
Location: Loading...
Posted: 19th Nov 2011 01:04 Edited at: 19th Nov 2011 01:10
Hey guys,

So I have a map that is the entire level and here is my set up:




Any ideas on why I just go though the map?


Cheers.

God help me, Please.
Ortu
DBPro Master
18
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Austin, TX
Posted: 19th Nov 2011 02:05
It looks like if no collision then you jump down a set value, this could be skipping through the ground between jumps and so it never sees a collision. You could get the ground height : y coord of the ground surface and move the character to that. Also you should add debugging to test to see if you are even detecting a collision


2Beastmode4u
15
Years of Service
User Offline
Joined: 14th Feb 2011
Location: Loading...
Posted: 19th Nov 2011 03:03
In debug it showed no sign of collision.


Cheers.

God help me, Please.
Sixty Squares
20
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 20th Nov 2011 02:22
It looks like you might've forgotten to assign a value to radius#, so your collision radius is just 0. Try using EyeHeight/2 or EyeHeight/4 for your radius.


Guns, cinematics, stealth, items and more!

Login to post a reply

Server time is: 2026-07-10 03:59:47
Your offset time is: 2026-07-10 03:59:47