I had this but, it dosnt work and im getting confused how to do it, is there a easier better way
You could use line intersect to get a more consistent direction around the player. Then atan2(y, x) to get the yaw value.
Need an example?
Yes please
In what direction is the camera looking? Top-down? 2d looking towards -y?
its 2d sidescroller like smash bros
thanks bro this is great, is there anyway to do this with the gamepad right stick, thanks







