Merge pull request #79250 from cbscribe/rb_doc_fix
Fix rigid body `contact_monitor` property description
This commit is contained in:
commit
74f14884cd
|
@ -151,7 +151,7 @@
|
|||
See [method add_constant_torque].
|
||||
</member>
|
||||
<member name="contact_monitor" type="bool" setter="set_contact_monitor" getter="is_contact_monitor_enabled" default="false">
|
||||
If [code]true[/code], the RigidBody2D will emit signals when it collides with another RigidBody2D.
|
||||
If [code]true[/code], the RigidBody2D will emit signals when it collides with another body.
|
||||
[b]Note:[/b] By default the maximum contacts reported is set to 0, meaning nothing will be recorded, see [member max_contacts_reported].
|
||||
</member>
|
||||
<member name="continuous_cd" type="int" setter="set_continuous_collision_detection_mode" getter="get_continuous_collision_detection_mode" enum="RigidBody2D.CCDMode" default="0">
|
||||
|
|
|
@ -158,7 +158,7 @@
|
|||
See [method add_constant_torque].
|
||||
</member>
|
||||
<member name="contact_monitor" type="bool" setter="set_contact_monitor" getter="is_contact_monitor_enabled" default="false">
|
||||
If [code]true[/code], the RigidBody3D will emit signals when it collides with another RigidBody3D.
|
||||
If [code]true[/code], the RigidBody3D will emit signals when it collides with another body.
|
||||
[b]Note:[/b] By default the maximum contacts reported is set to 0, meaning nothing will be recorded, see [member max_contacts_reported].
|
||||
</member>
|
||||
<member name="continuous_cd" type="bool" setter="set_use_continuous_collision_detection" getter="is_using_continuous_collision_detection" default="false">
|
||||
|
|
Loading…
Reference in New Issue