You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: doc/classes/AABB.xml
+1-1
Original file line number
Diff line number
Diff line change
@@ -206,7 +206,7 @@
206
206
</method>
207
207
<methodname="get_support"qualifiers="const">
208
208
<returntype="Vector3" />
209
-
<paramindex="0"name="dir"type="Vector3" />
209
+
<paramindex="0"name="direction"type="Vector3" />
210
210
<description>
211
211
Returns the vertex's position of this bounding box that's the farthest in the given direction. This point is commonly known as the support point in collision detection algorithms.
Copy file name to clipboardexpand all lines: doc/classes/Rect2.xml
+7
Original file line number
Diff line number
Diff line change
@@ -112,6 +112,13 @@
112
112
Returns the center point of the rectangle. This is the same as [code]position + (size / 2.0)[/code].
113
113
</description>
114
114
</method>
115
+
<methodname="get_support"qualifiers="const">
116
+
<returntype="Vector2" />
117
+
<paramindex="0"name="direction"type="Vector2" />
118
+
<description>
119
+
Returns the vertex's position of this rect that's the farthest in the given direction. This point is commonly known as the support point in collision detection algorithms.
0 commit comments