Binny Bogs
Binny Bogs

Reputation: 21

How to make intersection "line vs box" without penetration many objects?

can someone give me idea how can i make intersection only first box when the line is stretched to mouse cursor? Im trying to make something like "raycasting" but don't know how to stop the line.

https://i.sstatic.net/0CzpW.png

I tried line-line intersection but don't know how to find proper wall of the box

Upvotes: 0

Views: 38

Answers (0)

Related Questions