Archived

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

Ructions

Vertex Arrays Collision

Recommended Posts

Ructions    116
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
dede    132
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