hi all,
I am struggling with basic trigonometry here…
trying to create a ray from my camera view direction.
XZ works, but my Y is off.
a normalized direction vector 2d for angle a should be [cos(a),sin(a)]
my guess was that I have a sign or radians mismatch, but when I move my pitch my raycasted spheres jump pretty randomly.