Converting Mouse position to World Units manually?

Are there any benefits to doing the maths yourself as opposed to using the method Camera.main.ScreenToWorldPoint(Input.mousePosition)?

Hope to get a reply soon, thanks!

Hi,

Welcome to our community! :slight_smile:

The purpose of this lecture was to learn about the relationship between screen space coordinates and World Units (WU). Of course, we could use ScreenToWorldPoint instead but then we would not have seen how it would have worked if we had to convert the position values manually.

Did this clear it up for you?

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms