cylinder-triangle collision
Try searching the forum archive for posts about this... I think you''ll find that collision detection with cylinders is usually harder to implement and more expensive than necessary
As an alternative, capsules (cylinders with rounded ends) are fast and easy. A point is enclosed in the capsule when it''s distance to the line made by connecting the two end points is less than the capsules radius...
As an alternative, capsules (cylinders with rounded ends) are fast and easy. A point is enclosed in the capsule when it''s distance to the line made by connecting the two end points is less than the capsules radius...
Now it turned to a circle-triangle collision question....
Is it ok to do circle-triangle collision in 3d by doing some tests in 2d? like :
from the top view,
find the closest point for the three lines in the triangle to the circle,
distance test with circle radius
then do the same from the right and front view
thanks
Is it ok to do circle-triangle collision in 3d by doing some tests in 2d? like :
from the top view,
find the closest point for the three lines in the triangle to the circle,
distance test with circle radius
then do the same from the right and front view
thanks
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement