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.

Author
Message
coachsmithdhs
15
Years of Service
User Offline
Joined: 12th Oct 2010
Location:
Posted: 10th Nov 2010 20:17
I\\\'m brand new to DB Pro and programming so this may seem like a stupid question but I can\\\'t figure out how to get collision to work in the following code. I\\\'m trying to get object 1 (the can) to not go through the walls (objects 65-72). It keeps telling me I have bad language when I try to copy code so I'll just attach the project as a zip.
Brk_oth
20
Years of Service
User Offline
Joined: 8th Aug 2005
Location: Australia
Posted: 11th Nov 2010 00:10
Ok this code adds collision functionality to your walls.
All I have done is basically copied your existing collision code and made it work for your walls.
Any changes to your code I have marked so hopefully you can see what I did.
Personally I use a different collision method, but this is your code working:



No signature found...

Login to post a reply

Server time is: 2026-07-21 21:13:04
Your offset time is: 2026-07-21 21:13:04