You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
[DOCS] Update PhysicsDirectSpaceState.cast_motion
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
</argument>
|
</argument>
|
||||||
<description>
|
<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].
|
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>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="collide_shape">
|
<method name="collide_shape">
|
||||||
|
|||||||
Reference in New Issue
Block a user