Answer the question
In order to leave comments, you need to log in
How to check if a square hits a wall?
https://codepen.io/Mbreti/pen/YzqMoEP
Answer the question
In order to leave comments, you need to log in
Check whether the segment on which the square hit is active (black). If active, then encountered.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question