- Home /
Question by
afuhrtrumpet · May 31, 2019 at 10:38 PM ·
rotationquaternioneulerangleslookrotation
LookRotation but keeping oriented a certain way
I am using LookRotation to set an object to be oriented in a straight line from a point, however I would like to keep the yaw of the object constant. I tried setting the z local euler angle afterwards to what it was earlier, but this did not seem to work. Basically what I'm looking for is the right and forward axes to point in the same direction they did on the xz plane prior to applying LookRotation.
Comment