Up to date
This page is up to date for Godot
If you still find outdated information, please open an issue.
Rectangle shape resource for 2D physics.
Performance: Being a primitive collision shape, RectangleShape2D is fast to check collisions against (though not as fast as CircleShape2D).
Vector2 size =
The rectangle's width and height.