Name | Description | |
---|---|---|
Height | The height of the body | |
Width | The width of the body | |
X | The X location of the body | |
Y | The Y location of the body |
The following tables list the members exposed by NBody2D.
Name | Description | |
---|---|---|
Height | The height of the body | |
Width | The width of the body | |
X | The X location of the body | |
Y | The Y location of the body |
Name | Description | |
---|---|---|
Bottom | Gets or sets the bottom side of the body | |
Center | Gets or sets the center of the body | |
CenterX | Gets or sets the X center of the body | |
CenterY | Gets or sets the Y center of the body | |
Left | Gets or sets the left side of the body | |
Location | Gets or sets the body location | |
Right | Gets or sets the right side of the body | |
Size | Gets or sets the body size | |
Top | Gets or sets the top side of the body |
Name | Description | |
---|---|---|
FlipX | Overridden. Flips the X coordinates of body (e.g performs mirroring relatively to the Y axis) | |
FlipY | Overridden. Flips the Y coordinates of body (e.g performs mirroring relatively to the X axis) | |
GetBounds | Overridden. Gets the bounds of the body | |
Rotate | Overridden. Rotates the body | |
SetBounds | Sets the bounds of the body | |
Translate | Overridden. Translates the body |