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.
How can I make the raycast extend beyond the object? Is creating the raycast outside of the object the only solution?
capture.png
(9.5 kB)
Comment
Your answer
Follow this Question
Related Questions
(Raycasts) C# Why am I shooting myself? 0 Answers
Is there any way how to do raycasts like this? 0 Answers
Give Clones a Tag or Function 1 Answer
how to properly set a texture? 0 Answers
Falling object respawner 1 Answer