• Rotates the GameObject's transform so the local forward vector points at the given position.

    The +Z direction of the GameObject (with respect to the GameObject's local space), which denotes forward in Unity's conventions, will pointing to the given position.

    For more information, see https://docs.unity3d.com/ScriptReference/Transform.LookAt.html

    Parameters

    • gameObjectIdentifier: GameObjectIdentifier

      The identifier for the GameObject that you need to make it "look at" a position

    • position: Vector3

      The target position

    Returns void

Generated using TypeDoc