Sign in to follow this  
tiranitzar

Collision detection question

Recommended Posts

Hi everyone! I'm making a water by sph method. Water physics works fine. And now i need to make it collide with rigid body. Rigid body is triangulated surface (each triangle has coordinates of 3 vertices). For collision detection i use following method... I put surface in a box. For each particle laying in this box I choose triangle with minimal distance from center of it to particle. If this distance is appropriate for collision i make collision response for respective particle. This is stupid method..so could any1 give me a clue of more serious way for collision detection.

Share this post


Link to post
Share on other sites
Quote:
Original post by tiranitzar
thanks for help morons...


You should put this in your signature for future reference.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this