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 / Bouncing off walls/Sliding against walls

Author
Message
Robin
23
Years of Service
User Offline
Joined: 22nd Feb 2003
Location: United Kingdom
Posted: 19th Apr 2003 15:00
I'm currently making an indoor racing game - ie. there is a big building with lots of tunnels etc.
Is there a way in which - in DBC - I can make the player slide against the wall or bounce off walls when the player drives into one?
I can only make the player either stop completely when they hit a wall, or bounce back at the same angle they are travelling at to the wall...
I would be really glad of any help you can offer
Thanks
Robin
[ Download Map Maker 3D Now ]
http://www.thegameszone.has.it
[email protected]
Danmatsuma
23
Years of Service
User Offline
Joined: 2nd Mar 2003
Location: Australia
Posted: 20th Apr 2003 06:13
'Sliding collision', look for that in the help under 'basic 3D' there's a tutorial specifically on this

ZX Spectrum 48k Issue 3, Radio shack Tape drive, Rank arena 12" T.V. set.

Login to post a reply

Server time is: 2026-06-11 17:33:08
Your offset time is: 2026-06-11 17:33:08