Welcome to the Godot Reference Fork and the Godot Proposals Fork alternatives. Why?

RectangleShape2D

0 0 vote
Article Rating

Inherits: Shape2D < Resource < Reference < Object

Rectangle shape for 2D collisions.

Description

Rectangle shape for 2D collisions. This shape is useful for modeling box-like 2D objects.

Properties

Vector2extentsVector2( 10, 10 )

Property Descriptions

DefaultVector2( 10, 10 )
Setterset_extents(value)
Getterget_extents()

The rectangle’s half extents. The width and height of this shape is twice the half extents.

Doc ID missing

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 1970-01-01 at 00:00:00. It’s the English Stable version because it’s what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.

Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x