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 / sphere collision

Author
Message
Zotoaster
20
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 29th Jun 2005 00:40
ok, i have a planet, and im in my spaceship, (its 1st person just incase u need to know) but the only way i can collide with the planet is if i make it a static collision box, but then its not a sphere, how would i collide the camera off it and be able to slide round it

thanks

p.s. i have a cockpit object which is infront of the camera, but not locked on, so if it cant be done with the camera then you can just collide that off the planet

Your signature has been erased by a mod because it's larger than 600x120...
Link102
20
Years of Service
User Offline
Joined: 1st Dec 2004
Location: On your head, weeeeee!
Posted: 29th Jun 2005 02:06
I'd make a custon collision box, if distance is this much away from this point then the collision varialble is true.

please reply
Zotoaster
20
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 29th Jun 2005 03:02
hmmm, good idea, how about if i get to a certain distance i cant get any closer, thats a good idea, thanks

Your signature has been erased by a mod because it's larger than 600x120...

Login to post a reply

Server time is: 2025-05-22 19:22:44
Your offset time is: 2025-05-22 19:22:44