Raycast does not extend beyond the object it was called in?

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.90012-capture.png

How can I make the raycast extend beyond the object? Is creating the raycast outside of the object the only solution?

Please help…