Jump to content

Test for collition bw two 3D bathematical shapes(Cube,sphere,culinder)

Featured Replies

I have to find out whether two 3d shapes which are standard mathematical ones.I dint need the solution but i only need ,is  there a common solution or not.Am i wrong Comparing collision with Common solution?

The easiest collision detection is between two spheres. Simply calculate distance between centers and if it's higher than sum of their radii, two spheres didn't collide.

In 3D computer graphics it's often used as 1st step for more detailed collision detection.

 

Edited by Sensei

  • Author
1 hour ago, Strange said:

There are many different algorithms with different performance trade-offs: http://graphics.stanford.edu/courses/cs164-09-spring/Handouts/paper_colldect_survey2.pdf

An overview here: https://en.m.wikipedia.org/wiki/Collision_detection

In those algorithms they need the point of collision, but here we don't need any information on points which have collided, we need to know if there is a collision or not.So my thought was as we can test linear equations for existence of non trivial solution, is there any way we can find it for 3d non linear objects

Edited by lepton_veecee

Archived

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

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.