change size of collisionshape godoyt code example
Example: change size of collisionshape godoyt
Rectangle:
$CollisionShape2D.shape.extents = Vector2(x, y)
Circle:
$CollisionShape2D.shape.radius = some_value
Rectangle:
$CollisionShape2D.shape.extents = Vector2(x, y)
Circle:
$CollisionShape2D.shape.radius = some_value