indiesoftby / defold-scene3d

Scene3D is a collection of scripts, materials and tools to help you develop 3D games with the Defold game engine.
https://indiesoftby.github.io/defold-scene3d/
MIT License
150 stars 10 forks source link

Converting screen coordinates to world coordinates #26

Closed vokaimoh closed 1 year ago

vokaimoh commented 1 year ago

To create 3d hyper-casual games in which control is carried out using "hold and drag", it is necessary that on each device, regardless of the screen resolution, the mouse must travel the same distance in world coordinates, this requires a function or method for translating screen coordinates into world coordinates, which is currently missing or not implemented.

image