Jump to content

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


Recommended Posts

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
Link to comment
Share on other sites

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
Link to comment
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
×
×
  • Create New...

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.