I have found other questions like this, but none seem to quite cover the situation I have.
I am using DirectX 11
I have an object that has:
- Position (vector)
- Rotation (quaternion)
- View angle (pitch, roll, yaw)
The view angle needs to be added to the rotation in order to know the true view rotation. You can think of view a head, and rotation as body.
I want to be able to turn the head so that it looks at a given point in space (vector)
The head needs to move slowly so I need to workout what way to turn and then move the head in that direction in small amounts. (pitch, yaw, roll) units
I have attempted to get this working but I don't even seem to be able to get close to what I need.
Thanks in advance.