Add keywords to PhysicsBody{2D,3D}.test_move() for easier discoverability

`sweep` is the term used in Unity for collision checks without
moving anything.
This commit is contained in:
Hugo Locurcio
2024-03-09 17:33:04 +01:00
parent f28964805e
commit f8dd9844e5
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@
Locks or unlocks the specified linear or rotational [param axis] depending on the value of [param lock].
</description>
</method>
<method name="test_move">
<method name="test_move" keywords="check, collision, sweep">
<return type="bool" />
<param index="0" name="from" type="Transform3D" />
<param index="1" name="motion" type="Vector3" />