Question by
Niva_v_kopirce · Apr 19, 2017 at 09:52 PM ·
linecastraycastall
Get all objects between two changing points?
How to Raycast between two points and also get all objects that are hit by ray? I know there is Linecast for raycast between two points, but it returns only first object and RaycastAll on the other hand can be casted only in specific direction... Any idea how to cast ray between player and camera and get all hit objects? My game is top down, and vector between camera and player changes.
Thank You
Comment
Your answer
Follow this Question
Related Questions
Raycast not consistently detecting collision. 1 Answer
Network enemy spotting 0 Answers
Add only one Raycast/Linecast hit to a list 0 Answers
Linecast with transforms rotation? 0 Answers