Hi,

I am new to this forum, and I hope I am posting this in the right section.

I am working on some code for some game, and I got stuck on a mathematical problem.

I have a point ( in the image Point A) Where of I have this information:

X, Y and Z coordinates

Yaw, Pitch and Roll

What I want to do is to calculate the X Y and Z coordinates of point B.

The information I have about point B is an offset from point A.

This offset is in the direction of the angles Yaw Pitch and Roll.

An Image which hopefully makes my question totally clear.

Link to Image

Link to another image

Does somebody know how to calculate the coordinates of point B?

If anything isn't totally clear, please tell what it is. As I am Dutch, I'm not so good at describing my issue.

Thanks in advance!