public void Translate(FPVector translation, FPTransform relativeTo) { this.position += FPVector.Transform(translation, FPMatrix.CreateFromQuaternion(relativeTo.rotation)); }
public void LookAt(FPVector target) { this.rotation = FPQuaternion.CreateFromMatrix(FPMatrix.CreateFromLookAt(position, target)); }