A
A
Afafks1231321321652020-03-18 10:52:50
JavaScript
Afafks123132132165, 2020-03-18 10:52:50

How to determine the touch of objects?

I want to touch objects in Javascript. I understood how to touch a circle, a square. But, and if, for example, an object touches another braid or a ray crosses a square, how to determine where it crossed it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2020-03-18
@Afafks123132132165

That is, you stubbornly do not want to study theory ?
UPD:
There is a beam

It is better to open in a separate window. On LMB you can move the point of the beginning of the beam.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question