LookAtEntity

Rotates/orient the target entity to point toward / look at the specified look_at entity.

  • look_at : The entity to look at.
  • forward : Specified the local space axis which is considered as pointing forward in the entity. The default is Vec3(0,0,1) which the Z axis ; that is the blue axis in the editor - note that you can press Tab to switch the gizmo between local and world coordinates ;