I have an object that I wish to be parallel to a plane. The object needs to rotate on the yaw axis while remaining parallel to the plane. Having the normal of the plane and a yaw value, how can I compute the pitch and roll values for the object?
To be less general, I have a car model resting on a plane. When the player looks around, I need to update the rotation of the model, namely the Pitch and Roll, so that the models remains aligned to that plane.