I've a Raycast2d to check collisions and and I need to get the object that it has collided with to know the size and position of its collisionshape, but raycast.is_colliding() only gets the object (node), and if I don't know the collisionShape node name i can't get it.
var collisionShape2d = getCollisionShape2D (Player.RayCastTop.GetCollider())
collisionShape.Height = ??
collisionShape.Width = ??
If there any way to get the CollisionShape2D of an object returned by raycast.get_collider() ?