Collision detection question
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.
Quote:Original post by tiranitzar
thanks for help morons...
You should put this in your signature for future reference.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement