Fixed the line collision bug. Now its working
Channel:
Subscribers:
1,260
Published on ● Video Link: https://www.youtube.com/watch?v=BHnRta-AMzg
So I had this bug that sometimes had bad collision detection against lines. depending on the angle of velocity vector with the line direction. The small the angle, the greater penetration. I spent a while trying out different methods and found one that gave 100% perfect collision, like my ball vs ball and ball vs plane. Now that this is working, I can finally implement mesh detection. I have all 3 components to do SphereRay vs triangles. which consist of points, edges and a plane
Other Videos By Michael Lundgren
2022-09-15 | Filling up the side pocket to max capacity |
2022-09-14 | Accidently wrote color on the shadow map in the ball shader and got this cool result. |
2022-09-14 | DX11 Milestone - Shadow Mapping |
2022-09-13 | Figured out how to use Render to Texture |
2022-09-12 | PoolBall Follow Camera transfers ownership on contact |
2022-09-07 | Basic Texture PoolTable Model |
2022-09-05 | Untextured Pool Table Model WIP |
2022-08-31 | 1:1 collision with Imported geometry |
2022-08-30 | Triangle racking |
2022-08-29 | First triangle collision test |
2022-08-29 | Fixed the line collision bug. Now its working |
2022-08-28 | Plinko Balls |
2022-08-27 | Ball vs Line collision |
2022-08-26 | Added raytraced shadows and aiming prediction line |
2022-08-24 | Balls can roll again No more Sliding |
2022-08-24 | Inverted Pyramid collider |
2022-08-24 | 3D confined sphere stacking |
2022-08-23 | Collision Accuracy demonstrated with high friction value |
2022-08-23 | 3D Physics - Not using a library - |
2022-08-22 | Raytraced Reflections implemented |
2022-08-21 | 820 billiard balls floating in the sky |