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 / bounce box prob

Author
Message
Plugged
22
Years of Service
User Offline
Joined: 30th Nov 2002
Location: Hertfordshire
Posted: 26th Jun 2004 21:07
hi can some one check this bouncing code the idea is a ball (object 22) is inside a cube (the dimensions are Z: 40 to -40, x: 25 to -25 and Y: 25 to -25) so the code should correct the angle of the ball when it hits a wall the top and bottem walls work but nothing else



thanks for any help


Work Hard; Play Harder ;

Login to post a reply

Server time is: 2025-05-24 14:06:33
Your offset time is: 2025-05-24 14:06:33