Working on a 3d game, I've encountered a math problem that gaming/stackoverflow hasn't been able to help with.
Given an origin coordinate x,y,z, and a yaw/pitch direction away, how can I properly calculate the next coordinate (in the right direction)?
The equation for a line is $l(t) = p_0 + \vec vt$. You have the coordinates of your $p_0$ already, you just need to convert your yaw and pitch values into a single vector $\vec v$.