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.

Code Snippets / [DBP] cube moves on flat plain with perimeter detection

Author
Message
fhtughryf
16
Years of Service
User Offline
Joined: 1st Jul 2008
Location:
Posted: 3rd Jul 2008 14:00
It took me roughly 15 hours of experimentation to figure this out
and I didn't copy this from someone else. The reason is I suck at reading other peoples code so I decided to just go into it blindly
until I either succeeded or died trying, luckily I succeeded!

The hardest part was trying to detect collision with a 3D object, and not to mention programming total freedom of movement for the 3D object.

Well here it is my very first 3D program! Use the arrow keys to move the cube around. After you are done hit the ESC button to exit the program!



Login to post a reply

Server time is: 2024-11-25 02:43:53
Your offset time is: 2024-11-25 02:43:53