You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Add info about set_deferred for setting CollisionShape3D disabled property
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
Collision build mode. Use one of the [enum BuildMode] constants.
|
||||
</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.
|
||||
|
||||
Reference in New Issue
Block a user