lookingAt(target:)

    Returns a copy of the transform rotated such that the rotated X-axis points towards the target position.

    Transform2D.swift:499
    func lookingAt(target: Vector2 = Vector2 (x: 0, y: 0)) -> Transform2D

    Operations take place in global space.

    Other members in extension

    Type members

    Instance members