|Topic was automatically imported from the old Question2Answer platform.
I trying to implement movement like in this docs but in 3D space using KinematicBody. The main problem I face is how to translate mouse position to be relative to player body position. From viewport I can get mouse position, make it a Vector3 (camera is above the player) but it gives me coordinates in pixels (I suppose). Is there any way to get this position in ingame units or get body position in pixels relative to vector or maybe there is easier way I can’t figure out? Thanks for any help
I’m starting playing with 3D so thanks in advance for indulgence.