I want to create a circular collider for my sprite so I added this.setCircle(this.body.halfWidth) in my characters constructor but the collider is not centred on the object. I added a red circle on the objects position (x,y) as shown on the picture
But how is “The physics body is always positioned from the top-left of the game object” is explaining offsetX=0 and offsetY= halfHeight - halfWidth ?