mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 19:42:43 +00:00
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:
parent
f28964805e
commit
f8dd9844e5
@ -50,7 +50,7 @@
|
|||||||
Removes a body from the list of bodies that this body can't collide with.
|
Removes a body from the list of bodies that this body can't collide with.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="test_move">
|
<method name="test_move" keywords="check, collision, sweep">
|
||||||
<return type="bool" />
|
<return type="bool" />
|
||||||
<param index="0" name="from" type="Transform2D" />
|
<param index="0" name="from" type="Transform2D" />
|
||||||
<param index="1" name="motion" type="Vector2" />
|
<param index="1" name="motion" type="Vector2" />
|
||||||
|
@ -68,7 +68,7 @@
|
|||||||
Locks or unlocks the specified linear or rotational [param axis] depending on the value of [param lock].
|
Locks or unlocks the specified linear or rotational [param axis] depending on the value of [param lock].
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="test_move">
|
<method name="test_move" keywords="check, collision, sweep">
|
||||||
<return type="bool" />
|
<return type="bool" />
|
||||||
<param index="0" name="from" type="Transform3D" />
|
<param index="0" name="from" type="Transform3D" />
|
||||||
<param index="1" name="motion" type="Vector3" />
|
<param index="1" name="motion" type="Vector3" />
|
||||||
|
Loading…
Reference in New Issue
Block a user