diff options
| author | Thaddeus Crews <repiteo@outlook.com> | 2024-11-22 14:54:12 -0600 |
|---|---|---|
| committer | Thaddeus Crews <repiteo@outlook.com> | 2024-11-22 14:54:12 -0600 |
| commit | 47f3e953085a61eb619876959639c21b7b35b5c1 (patch) | |
| tree | 4c34b3705c32e1a96bf2d516a2a28ac3275787c9 /doc/classes | |
| parent | 0430b977b613fc22268ba9e3102b378ffc0a76c9 (diff) | |
| parent | e0b13004a0f48b61cefdf8e469f6d623c17f1932 (diff) | |
| download | redot-engine-47f3e953085a61eb619876959639c21b7b35b5c1.tar.gz | |
Merge pull request #99352 from Mickeon/documentation-aabb-coords-are-complicated
Fix incorrect Z direction for AABB's position
Diffstat (limited to 'doc/classes')
| -rw-r--r-- | doc/classes/AABB.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/classes/AABB.xml b/doc/classes/AABB.xml index ae2de055cb..57ac241eb2 100644 --- a/doc/classes/AABB.xml +++ b/doc/classes/AABB.xml @@ -345,14 +345,14 @@ </methods> <members> <member name="end" type="Vector3" setter="" getter="" default="Vector3(0, 0, 0)"> - The ending point. This is usually the corner on the top-right and forward of the bounding box, and is equivalent to [code]position + size[/code]. Setting this point affects the [member size]. + The ending point. This is usually the corner on the top-right and back of the bounding box, and is equivalent to [code]position + size[/code]. Setting this point affects the [member size]. </member> <member name="position" type="Vector3" setter="" getter="" default="Vector3(0, 0, 0)"> - The origin point. This is usually the corner on the bottom-left and back of the bounding box. + The origin point. This is usually the corner on the bottom-left and forward of the bounding box. </member> <member name="size" type="Vector3" setter="" getter="" default="Vector3(0, 0, 0)"> The bounding box's width, height, and depth starting from [member position]. Setting this value also affects the [member end] point. - [b]Note:[/b] It's recommended setting the width, height, and depth to non-negative values. This is because most methods in Godot assume that the [member position] is the bottom-left-back corner, and the [member end] is the top-right-forward corner. To get an equivalent bounding box with non-negative size, use [method abs]. + [b]Note:[/b] It's recommended setting the width, height, and depth to non-negative values. This is because most methods in Godot assume that the [member position] is the bottom-left-forward corner, and the [member end] is the top-right-back corner. To get an equivalent bounding box with non-negative size, use [method abs]. </member> </members> <operators> |
