Y
Y
Yuriy_Code2021-10-10 15:35:23
Unity
Yuriy_Code, 2021-10-10 15:35:23

How to track world coordinates on click?

How to get world coordinates, where exactly did you click on which point on the object?
If tracked using EventSystem.

It is here to track at which point there was a click and on which side of the cube, for example.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nekit Medvedev, 2021-10-11
@NIKROTOS

If you specifically need hit coordinates.
Shoot from the camera at the cursor, see where the intersection occurs. (The data for this is in the unity in action book).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question