Inverting rotation in 3D, to make an object always face the camera?
The easiest way to do this is “clearing” the rotational part of the transform matrix. Your typical homogenous transformation looks like this | xx xy xz xw | | yx yy yz yw | | zx zy zz zw | | wx wy wz ww | with wx = wy = wz = 0, ww … Read more