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 / Making a dent in your Grid (3d Scorched Earth Example)

Author
Message
Sinfay
20
Years of Service
User Offline
Joined: 30th Aug 2004
Location:
Posted: 8th Sep 2004 09:41
It's a little ruff, but it works. Remember, you can't return raw x,y,z coords to find a spot in the mesh, you need to find the joints to reference.

Basically put: if your bullet is inbetween one of your mesh tiles, you need to tell the computer to find the closest one, and adjust that one accordingly. That's what this code does. I found the round and tile concepts/functions somewhere else, so I can't take credit for those. Enjoy!
Final Epsilon
20
Years of Service
User Offline
Joined: 26th Jan 2004
Location: CA, USA
Posted: 9th Sep 2004 10:40
hrm... i get an error when trying to view the source code.

"Error obtaining Source Code, invalid ID. Sorry but I've given up."

However, this might be really useful! ^_^
Mayhaps you could repost it?
Sinfay
20
Years of Service
User Offline
Joined: 30th Aug 2004
Location:
Posted: 10th Sep 2004 01:43
Opps well try it again here

Login to post a reply

Server time is: 2024-11-23 19:20:04
Your offset time is: 2024-11-23 19:20:04