[DOCS] Update PhysicsDirectSpaceState.cast_motion
This commit is contained in:
parent
f32c826924
commit
07e27cd197
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@
|
|||
</argument>
|
||||
<description>
|
||||
Checks whether the shape can travel to a point. The method will return an array with two floats between 0 and 1, both representing a fraction of [code]motion[/code]. The first is how far the shape can move without triggering a collision, and the second is the point at which a collision will occur. If no collision is detected, the returned array will be [code][1, 1][/code].
|
||||
If the shape can not move, the returned array will be [code][0, 0][/code].
|
||||
If the shape can not move, the returned array will be [code][0, 0][/code] under Bullet, and empty under GodotPhysics.
|
||||
</description>
|
||||
</method>
|
||||
<method name="collide_shape">
|
||||
|
|
Loading…
Reference in a new issue