0
\$\begingroup\$

I know how to move a point in a direction in 2D space it's like this:

pointX += sin(angle) * movementSpeed;
pointY += cos(angle) * movementSpeed;

How do I do the same in 3D space assuming the angle variable is replaced with pitch, yaw, and roll variables and the addition of a pointZ variable?

\$\endgroup\$
2

0

You must log in to answer this question.

Browse other questions tagged .