So I have a script that creates a raycast which should beyond the object itself. However, when I tested the raycasts with Debug.DrawRay, the raycasts only extended to the tip of the object as shown in the picture.
How can I make the raycast extend beyond the object? Is creating the raycast outside of the object the only solution?