mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 03:18:37 +08:00
Merge pull request #25506 from homer666/docs-update-cast-motion
[DOCS] Update PhysicsDirectSpaceState.cast_motion
This commit is contained in:
commit
39d6dbbb9f
@ -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 New Issue
Block a user