In my 2D game (3D graphics / world) I want to have a “aim position” that is a point in the 3D(although zPos should be 0) world that has a default start position and moves according to how the user moves his mouse. I would use cam.getWorldPosition, however I run into these problems:
the start position would not matter and you would not have to “move from it” as it would be instantly locked to the mouses position.
in the future I might have the camera move around (with the game plane staying the same) causing the motions to vary in effectiveness (i assume).
Is there a way to just capture the direction of the mouse moving and relate the speed to world cooridinates? Maybe I should just normalize the mouse movement on the srceens xy plane and then apply a “sensitivity” to get the new world coordinate?