Forums › 💬 NodeCanvas › ⚙️ Support › [BUG] Casting bug in GetLinecastInfo2D
The GetLinecastInfo2Dand GetLinecastInfo2DAllAll ActionTasks contain the following lines:
GetLinecastInfo2D
GetLinecastInfo2DAllAll
However, attempting to cast to a Vector3 like this will throw an exception. Replacing these lines with something like
Vector3
fixes this.
Hey,
Thanks for letting me know 🙂