-
Notifications
You must be signed in to change notification settings - Fork 0
class_rectangleshape2d
reduz edited this page Feb 23, 2014
·
9 revisions
Inherits: Shape2D\n\n### Brief Description
Rectangle Shape for 2D Physics.
- void set_extents" ( Vector2 extents )
- Vector2 get_extents" ( ) const
Rectangle Shape for 2D Physics. This shape is useful for modelling box-like 2D objects.
== set_extents ==
- void set_extents" ( Vector2 extents ) \ Set the half extents, the actual width and height of this shape is twice the half extents. == get_extents ==
- Vector2 get_extents" ( ) const \ Return the half extents, the actual width and height of this shape is twice the half extents.