Hello. I’ve been using this library for one of my projects and I’m having an issue with the screen to world conversion. I’ve setup a simple test collection within my project to demonstrate. It contains the camera object within this library, as well as a cursor which will simply update the position of a .go using camera.screen_to_world(nil, vmath.vector3(action.x, action.y 0). I cannot for the life of me find anything that would cause this. The example within the repository works fine, and I’ve set the correct render script. Any thoughts on a possible cause?
Switching around some versions here, this bug is not present in v3.4.1. The first version this occurs is in version 3.5.0 onward.
I think you need to use action.screen_x and action.screen_y
1 Like
Oh my god, what an unbelievably simple fix, thank you!
Correct! I’ll check that the documentation up to date!
