In this video we go over how we can check if two lines segments in 3D space intersect. I should also mention this method can be used in 2D as well if that floats your boat.
Code:
gist.github.co...
The code above uses the unity Vector3 class. The documentation for that class can be found here:
docs.unity3d.c...
Негізгі бет 3D line intersections
Пікірлер: 11