Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

Raycasting in a 2D side scrolling shooter

$
0
0
Ive been attempting to make a 2D side scrolling shooter. Howeverm=, i cant seem to get any kind of raycasting to work with 2D colliders. Ive been told to try linecast but i do believe that they cannot return information about the hit. Does anyone have any suggestions as to how i can go about achieving a raycast shooting mechanic to work with 2D colliders?

Viewing all articles
Browse latest Browse all 171066

Trending Articles