Use parameter classes instead of arguments for all physics queries
Same as what is already done for shape queries, applied to point and ray queries. Easier to document and more flexible to add more parameters. Also expose intersect_point method to script in 3D. Remove intersect_point_on_canvas in 2D, replaced with a parameter.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
Parameters to be sent to a 2D shape physics query.
|
||||
</brief_description>
|
||||
<description>
|
||||
This class contains the shape and other parameters for 2D intersection/collision queries.
|
||||
This class contains the shape and other parameters for [PhysicsDirectSpaceState2D] intersection/collision queries.
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
|
||||
Reference in New Issue
Block a user