mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 07:53:26 +00:00
Merge pull request #102520 from Giganzo/CollisionShape3D-disabled-doc
Add info about `set_deferred` for CollisionShape3D disabled property
This commit is contained in:
commit
bf6d94b561
3 changed files with 3 additions and 3 deletions
|
@ -14,7 +14,7 @@
|
|||
Collision build mode.
|
||||
</member>
|
||||
<member name="disabled" type="bool" setter="set_disabled" getter="is_disabled" default="false" keywords="enabled">
|
||||
If [code]true[/code], no collisions will be detected.
|
||||
If [code]true[/code], no collisions will be detected. This property should be changed with [method Object.set_deferred].
|
||||
</member>
|
||||
<member name="one_way_collision" type="bool" setter="set_one_way_collision" getter="is_one_way_collision_enabled" default="false">
|
||||
If [code]true[/code], only edges that face up, relative to [CollisionPolygon2D]'s rotation, will collide with other objects.
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
Length that the resulting collision extends in either direction perpendicular to its 2D polygon.
|
||||
</member>
|
||||
<member name="disabled" type="bool" setter="set_disabled" getter="is_disabled" default="false" keywords="enabled">
|
||||
If [code]true[/code], no collision will be produced.
|
||||
If [code]true[/code], no collision will be produced. This property should be changed with [method Object.set_deferred].
|
||||
</member>
|
||||
<member name="margin" type="float" setter="set_margin" getter="get_margin" default="0.04">
|
||||
The collision margin for the generated [Shape3D]. See [member Shape3D.margin] for more details.
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
If [code]true[/code], when the shape is displayed, it will show a solid fill color in addition to its wireframe.
|
||||
</member>
|
||||
<member name="disabled" type="bool" setter="set_disabled" getter="is_disabled" default="false" keywords="enabled">
|
||||
A disabled collision shape has no effect in the world.
|
||||
A disabled collision shape has no effect in the world. This property should be changed with [method Object.set_deferred].
|
||||
</member>
|
||||
<member name="shape" type="Shape3D" setter="set_shape" getter="get_shape">
|
||||
The actual shape owned by this collision shape.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue