Jump to content
  • Advertisement
Sign in to follow this  
tiranitzar

Collision detection question

This topic is 3512 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

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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!