OnDrawGizmosSelected() to draw on Scenne view the area affected by trigger

Basically I’d during the Scene view displaying the intended area. I wrote script:

using UnityEngine;
using UnityEditor;

public class Turret : MonoBehaviour
{
    [SerializeField] private float targetingRANGE = 6f;
    [SerializeField] private Transform pointRotation;

    
    private void OnDrawGizmosSelected()
    {
        Handles.color = Color.blue;
        Handles.DrawWireDisc(transform.position, transform.forward, targetingRANGE);
    } 
}

but the gizmo drawn (blue circle) doesn’t look correctly following the proper coordinates; following a screenshot:


I attached this scipt to the Turret game object

mmm, I don’t understand what am I missing?

You have the ‘rotationPoint’ game object underline in your screenshot, though your gizmos isn’t using that transform reference at all.

I think you need to change your transform pivot mode from ‘Center’ to ‘Pivot’ as it is probably misleading you.