Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Ructions

Vertex Arrays Collision

This topic is 5390 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i was wondering can you test for collsions on vertex arrays so if one was hit it could dissappear from the screen and the rest could be left on the screen. If not is there another way of doing this..

Share this post


Link to post
Share on other sites
Advertisement
Yes, but you''re looking for a Mesh to Mesh collision. There are lots of Mesh collision libraries out there, search google.

Here''s the basic algorthm.

1. Move your meshes
2. Run the library to see if they collide
3. If one collides with the other, erase it.
4. Render Scene
Loop

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!