mirror of
https://github.com/godotengine/godot.git
synced 2025-02-11 21:30:56 +00:00
Merge pull request #14385 from NathanWarden/raycast_docs
[DOCS] Finished off the RayCast documentation.
This commit is contained in:
commit
6f764d3f0a
@ -77,6 +77,7 @@
|
||||
<argument index="0" name="bit" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Returns [code]true[/code] if the bit index passed is turned on. Note that bit indexes range from 0-19.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_collision_normal" qualifiers="const">
|
||||
@ -126,6 +127,7 @@
|
||||
<argument index="1" name="value" type="bool">
|
||||
</argument>
|
||||
<description>
|
||||
Sets the bit index passed to the [code]value[/code] passed. Note that bit indexes range from 0-19.
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
@ -137,9 +139,10 @@
|
||||
The ray's collision mask. Only objects in at least one collision layer enabled in the mask will be detected.
|
||||
</member>
|
||||
<member name="enabled" type="bool" setter="set_enabled" getter="is_enabled">
|
||||
If [code]true[/code], collisions will be reported. Default value: [code]false[/code].
|
||||
If [code]true[/code] collisions will be reported. Default value: [code]false[/code].
|
||||
</member>
|
||||
<member name="exclude_parent" type="bool" setter="set_exclude_parent_body" getter="get_exclude_parent_body">
|
||||
If [code]true[/code] collisions will be ignored for this RayCast's immediate parent. Default value: [code]true[/code].
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
|
Loading…
Reference in New Issue
Block a user