diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-11-24 23:16:30 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2017-11-24 23:16:30 +0100 |
commit | 7dfba3cda9f13427f9f10a6eefbec52aef62274c (patch) | |
tree | 37231b14dfe24e8597ca5c780bb151696cda9b57 /doc/classes/RigidBody2D.xml | |
parent | 2bc6db65c14f00de5a0349e910037ca2db7fc103 (diff) |
doc: Fix enum tags thanks to 2bc6db6
Diffstat (limited to 'doc/classes/RigidBody2D.xml')
-rw-r--r-- | doc/classes/RigidBody2D.xml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/classes/RigidBody2D.xml b/doc/classes/RigidBody2D.xml index 0d9562e426..c11e118df5 100644 --- a/doc/classes/RigidBody2D.xml +++ b/doc/classes/RigidBody2D.xml @@ -226,25 +226,25 @@ </signal> </signals> <constants> - <constant name="MODE_RIGID" value="0"> + <constant name="MODE_RIGID" value="0" enum="Mode"> Rigid mode. The body behaves as a physical object. It collides with other bodies and responds to forces applied to it. This is the default mode. </constant> - <constant name="MODE_STATIC" value="1"> + <constant name="MODE_STATIC" value="1" enum="Mode"> Static mode. The body behaves like a [StaticBody2D] and does not move. </constant> - <constant name="MODE_CHARACTER" value="2"> + <constant name="MODE_CHARACTER" value="2" enum="Mode"> Character mode. Similar to [code]MODE_RIGID[/code], but the body can not rotate. </constant> - <constant name="MODE_KINEMATIC" value="3"> + <constant name="MODE_KINEMATIC" value="3" enum="Mode"> Kinematic mode. The body behaves like a [KinematicBody2D], and must be moved by code. </constant> - <constant name="CCD_MODE_DISABLED" value="0"> + <constant name="CCD_MODE_DISABLED" value="0" enum="CCDMode"> Continuous collision detection disabled. This is the fastest way to detect body collisions, but can miss small, fast-moving objects. </constant> - <constant name="CCD_MODE_CAST_RAY" value="1"> + <constant name="CCD_MODE_CAST_RAY" value="1" enum="CCDMode"> Continuous collision detection enabled using raycasting. This is faster than shapecasting but less precise. </constant> - <constant name="CCD_MODE_CAST_SHAPE" value="2"> + <constant name="CCD_MODE_CAST_SHAPE" value="2" enum="CCDMode"> Continuous collision detection enabled using shapecasting. This is the slowest CCD method and the most precise. </constant> </constants> |