Trick: Fixing rotation of characters that has wrong rotation with lookAt

This trick can be used in any engine for various purposes.

  • Point and click (setting a proper rotation for player)
  • Cars (setting a good offset for car center)
  • Wheels (to fix rotation of wheels)
  • Any character that looks at to certain direction

That happened first when I uploaded a model with different lookAt direction and I had to add some sort of offset to it’s lookAt direction. But that wasn’t easy since Euler can be little bit difficult to work with.

This trick that I shared in the video can be used easily on any engine including PlayCanvas.