• Better lookAt

    Parameters

    • object: Object3D

      the object that the lookAt should be applied to

    • target: Object3D

      the target to look at

    • keepUpDirection: boolean = true

      if true the up direction will be kept

    • copyTargetRotation: boolean = false

      if true the target rotation will be copied so the rotation is not skewed

    Returns void

Generated using TypeDoc