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 / Object goes through map a little then collides.

Author
Message
Eminent
16
Years of Service
User Offline
Joined: 15th Jul 2010
Location:
Posted: 16th Oct 2010 23:21
My problem is that the Car(the object Im moving) goes through the map just a little bit, and then stops going. It looks as though a part of the car has vanished into the wall until I move backwards. This time I dont want code to help me but just some pointers. I tried increasing the radius at the SC_spherecast line but it made my car seem to float. There are some random rems in there, just ignore them.



Indicium
18
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 17th Oct 2010 02:44
Not sure if this is what you're already doing, you said radius, which makes me assume you're using sphere collision, but have you tried using polygon collision?

Eminent
16
Years of Service
User Offline
Joined: 15th Jul 2010
Location:
Posted: 17th Oct 2010 03:41
Yeah, but Sparkys(correct me if im wrong) doesn't allow for polygonal sliding collision.Only spherical.


Indicium
18
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 17th Oct 2010 14:57
Hmm... perhaps you are right, now I come to think of it, I've only used spherical. But theres only one way to find out, right?

Login to post a reply

Server time is: 2026-07-22 12:41:45
Your offset time is: 2026-07-22 12:41:45