Just wanted to point out that when introducing mouse position, it should come with a brief explanation about the difference between mouse (UI) cordinates and world cordinates and why they should be converted.
I happen to vaguely know about it, but in lesson 53 we take mouse position and translating it to units and we donβt even know why it is needed.
thanks! great course
Hi,
The mouse exists in the Screen space. Its coordinates are in pixels. The stuff in the 3D scene exists in the 3D World Space. The coordinates are in World Units (WU).
The place something in the World Space at the position of the mouse, you need to convert the mouse position to World Space coordinates.
Does that make sense?
2 Likes
it does. thank you it makes a lot of sense.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.