class_physicsserver2dextension.rst 190 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/4.1/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/4.1/doc/classes/PhysicsServer2DExtension.xml.
  6. .. _class_PhysicsServer2DExtension:
  7. PhysicsServer2DExtension
  8. ========================
  9. **Inherits:** :ref:`PhysicsServer2D<class_PhysicsServer2D>` **<** :ref:`Object<class_Object>`
  10. Provides virtual methods that can be overridden to create custom :ref:`PhysicsServer2D<class_PhysicsServer2D>` implementations.
  11. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. This class extends :ref:`PhysicsServer2D<class_PhysicsServer2D>` by providing additional virtual methods that can be overridden. When these methods are overridden, they will be called instead of the internal methods of the physics server.
  15. Intended for use with GDExtension to create custom implementations of :ref:`PhysicsServer2D<class_PhysicsServer2D>`.
  16. .. rst-class:: classref-reftable-group
  17. Methods
  18. -------
  19. .. table::
  20. :widths: auto
  21. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  22. | void | :ref:`_area_add_shape<class_PhysicsServer2DExtension_method__area_add_shape>` **(** :ref:`RID<class_RID>` area, :ref:`RID<class_RID>` shape, :ref:`Transform2D<class_Transform2D>` transform, :ref:`bool<class_bool>` disabled **)** |virtual| |
  23. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  24. | void | :ref:`_area_attach_canvas_instance_id<class_PhysicsServer2DExtension_method__area_attach_canvas_instance_id>` **(** :ref:`RID<class_RID>` area, :ref:`int<class_int>` id **)** |virtual| |
  25. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  26. | void | :ref:`_area_attach_object_instance_id<class_PhysicsServer2DExtension_method__area_attach_object_instance_id>` **(** :ref:`RID<class_RID>` area, :ref:`int<class_int>` id **)** |virtual| |
  27. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  28. | void | :ref:`_area_clear_shapes<class_PhysicsServer2DExtension_method__area_clear_shapes>` **(** :ref:`RID<class_RID>` area **)** |virtual| |
  29. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  30. | :ref:`RID<class_RID>` | :ref:`_area_create<class_PhysicsServer2DExtension_method__area_create>` **(** **)** |virtual| |
  31. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  32. | :ref:`int<class_int>` | :ref:`_area_get_canvas_instance_id<class_PhysicsServer2DExtension_method__area_get_canvas_instance_id>` **(** :ref:`RID<class_RID>` area **)** |virtual| |const| |
  33. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  34. | :ref:`int<class_int>` | :ref:`_area_get_collision_layer<class_PhysicsServer2DExtension_method__area_get_collision_layer>` **(** :ref:`RID<class_RID>` area **)** |virtual| |const| |
  35. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  36. | :ref:`int<class_int>` | :ref:`_area_get_collision_mask<class_PhysicsServer2DExtension_method__area_get_collision_mask>` **(** :ref:`RID<class_RID>` area **)** |virtual| |const| |
  37. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  38. | :ref:`int<class_int>` | :ref:`_area_get_object_instance_id<class_PhysicsServer2DExtension_method__area_get_object_instance_id>` **(** :ref:`RID<class_RID>` area **)** |virtual| |const| |
  39. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  40. | :ref:`Variant<class_Variant>` | :ref:`_area_get_param<class_PhysicsServer2DExtension_method__area_get_param>` **(** :ref:`RID<class_RID>` area, :ref:`AreaParameter<enum_PhysicsServer2D_AreaParameter>` param **)** |virtual| |const| |
  41. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  42. | :ref:`RID<class_RID>` | :ref:`_area_get_shape<class_PhysicsServer2DExtension_method__area_get_shape>` **(** :ref:`RID<class_RID>` area, :ref:`int<class_int>` shape_idx **)** |virtual| |const| |
  43. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  44. | :ref:`int<class_int>` | :ref:`_area_get_shape_count<class_PhysicsServer2DExtension_method__area_get_shape_count>` **(** :ref:`RID<class_RID>` area **)** |virtual| |const| |
  45. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  46. | :ref:`Transform2D<class_Transform2D>` | :ref:`_area_get_shape_transform<class_PhysicsServer2DExtension_method__area_get_shape_transform>` **(** :ref:`RID<class_RID>` area, :ref:`int<class_int>` shape_idx **)** |virtual| |const| |
  47. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  48. | :ref:`RID<class_RID>` | :ref:`_area_get_space<class_PhysicsServer2DExtension_method__area_get_space>` **(** :ref:`RID<class_RID>` area **)** |virtual| |const| |
  49. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  50. | :ref:`Transform2D<class_Transform2D>` | :ref:`_area_get_transform<class_PhysicsServer2DExtension_method__area_get_transform>` **(** :ref:`RID<class_RID>` area **)** |virtual| |const| |
  51. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  52. | void | :ref:`_area_remove_shape<class_PhysicsServer2DExtension_method__area_remove_shape>` **(** :ref:`RID<class_RID>` area, :ref:`int<class_int>` shape_idx **)** |virtual| |
  53. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  54. | void | :ref:`_area_set_area_monitor_callback<class_PhysicsServer2DExtension_method__area_set_area_monitor_callback>` **(** :ref:`RID<class_RID>` area, :ref:`Callable<class_Callable>` callback **)** |virtual| |
  55. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  56. | void | :ref:`_area_set_collision_layer<class_PhysicsServer2DExtension_method__area_set_collision_layer>` **(** :ref:`RID<class_RID>` area, :ref:`int<class_int>` layer **)** |virtual| |
  57. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  58. | void | :ref:`_area_set_collision_mask<class_PhysicsServer2DExtension_method__area_set_collision_mask>` **(** :ref:`RID<class_RID>` area, :ref:`int<class_int>` mask **)** |virtual| |
  59. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  60. | void | :ref:`_area_set_monitor_callback<class_PhysicsServer2DExtension_method__area_set_monitor_callback>` **(** :ref:`RID<class_RID>` area, :ref:`Callable<class_Callable>` callback **)** |virtual| |
  61. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  62. | void | :ref:`_area_set_monitorable<class_PhysicsServer2DExtension_method__area_set_monitorable>` **(** :ref:`RID<class_RID>` area, :ref:`bool<class_bool>` monitorable **)** |virtual| |
  63. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  64. | void | :ref:`_area_set_param<class_PhysicsServer2DExtension_method__area_set_param>` **(** :ref:`RID<class_RID>` area, :ref:`AreaParameter<enum_PhysicsServer2D_AreaParameter>` param, :ref:`Variant<class_Variant>` value **)** |virtual| |
  65. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  66. | void | :ref:`_area_set_pickable<class_PhysicsServer2DExtension_method__area_set_pickable>` **(** :ref:`RID<class_RID>` area, :ref:`bool<class_bool>` pickable **)** |virtual| |
  67. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  68. | void | :ref:`_area_set_shape<class_PhysicsServer2DExtension_method__area_set_shape>` **(** :ref:`RID<class_RID>` area, :ref:`int<class_int>` shape_idx, :ref:`RID<class_RID>` shape **)** |virtual| |
  69. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  70. | void | :ref:`_area_set_shape_disabled<class_PhysicsServer2DExtension_method__area_set_shape_disabled>` **(** :ref:`RID<class_RID>` area, :ref:`int<class_int>` shape_idx, :ref:`bool<class_bool>` disabled **)** |virtual| |
  71. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  72. | void | :ref:`_area_set_shape_transform<class_PhysicsServer2DExtension_method__area_set_shape_transform>` **(** :ref:`RID<class_RID>` area, :ref:`int<class_int>` shape_idx, :ref:`Transform2D<class_Transform2D>` transform **)** |virtual| |
  73. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  74. | void | :ref:`_area_set_space<class_PhysicsServer2DExtension_method__area_set_space>` **(** :ref:`RID<class_RID>` area, :ref:`RID<class_RID>` space **)** |virtual| |
  75. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  76. | void | :ref:`_area_set_transform<class_PhysicsServer2DExtension_method__area_set_transform>` **(** :ref:`RID<class_RID>` area, :ref:`Transform2D<class_Transform2D>` transform **)** |virtual| |
  77. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  78. | void | :ref:`_body_add_collision_exception<class_PhysicsServer2DExtension_method__body_add_collision_exception>` **(** :ref:`RID<class_RID>` body, :ref:`RID<class_RID>` excepted_body **)** |virtual| |
  79. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  80. | void | :ref:`_body_add_constant_central_force<class_PhysicsServer2DExtension_method__body_add_constant_central_force>` **(** :ref:`RID<class_RID>` body, :ref:`Vector2<class_Vector2>` force **)** |virtual| |
  81. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  82. | void | :ref:`_body_add_constant_force<class_PhysicsServer2DExtension_method__body_add_constant_force>` **(** :ref:`RID<class_RID>` body, :ref:`Vector2<class_Vector2>` force, :ref:`Vector2<class_Vector2>` position **)** |virtual| |
  83. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  84. | void | :ref:`_body_add_constant_torque<class_PhysicsServer2DExtension_method__body_add_constant_torque>` **(** :ref:`RID<class_RID>` body, :ref:`float<class_float>` torque **)** |virtual| |
  85. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  86. | void | :ref:`_body_add_shape<class_PhysicsServer2DExtension_method__body_add_shape>` **(** :ref:`RID<class_RID>` body, :ref:`RID<class_RID>` shape, :ref:`Transform2D<class_Transform2D>` transform, :ref:`bool<class_bool>` disabled **)** |virtual| |
  87. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  88. | void | :ref:`_body_apply_central_force<class_PhysicsServer2DExtension_method__body_apply_central_force>` **(** :ref:`RID<class_RID>` body, :ref:`Vector2<class_Vector2>` force **)** |virtual| |
  89. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  90. | void | :ref:`_body_apply_central_impulse<class_PhysicsServer2DExtension_method__body_apply_central_impulse>` **(** :ref:`RID<class_RID>` body, :ref:`Vector2<class_Vector2>` impulse **)** |virtual| |
  91. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  92. | void | :ref:`_body_apply_force<class_PhysicsServer2DExtension_method__body_apply_force>` **(** :ref:`RID<class_RID>` body, :ref:`Vector2<class_Vector2>` force, :ref:`Vector2<class_Vector2>` position **)** |virtual| |
  93. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  94. | void | :ref:`_body_apply_impulse<class_PhysicsServer2DExtension_method__body_apply_impulse>` **(** :ref:`RID<class_RID>` body, :ref:`Vector2<class_Vector2>` impulse, :ref:`Vector2<class_Vector2>` position **)** |virtual| |
  95. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  96. | void | :ref:`_body_apply_torque<class_PhysicsServer2DExtension_method__body_apply_torque>` **(** :ref:`RID<class_RID>` body, :ref:`float<class_float>` torque **)** |virtual| |
  97. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  98. | void | :ref:`_body_apply_torque_impulse<class_PhysicsServer2DExtension_method__body_apply_torque_impulse>` **(** :ref:`RID<class_RID>` body, :ref:`float<class_float>` impulse **)** |virtual| |
  99. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  100. | void | :ref:`_body_attach_canvas_instance_id<class_PhysicsServer2DExtension_method__body_attach_canvas_instance_id>` **(** :ref:`RID<class_RID>` body, :ref:`int<class_int>` id **)** |virtual| |
  101. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  102. | void | :ref:`_body_attach_object_instance_id<class_PhysicsServer2DExtension_method__body_attach_object_instance_id>` **(** :ref:`RID<class_RID>` body, :ref:`int<class_int>` id **)** |virtual| |
  103. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  104. | void | :ref:`_body_clear_shapes<class_PhysicsServer2DExtension_method__body_clear_shapes>` **(** :ref:`RID<class_RID>` body **)** |virtual| |
  105. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  106. | :ref:`bool<class_bool>` | :ref:`_body_collide_shape<class_PhysicsServer2DExtension_method__body_collide_shape>` **(** :ref:`RID<class_RID>` body, :ref:`int<class_int>` body_shape, :ref:`RID<class_RID>` shape, :ref:`Transform2D<class_Transform2D>` shape_xform, :ref:`Vector2<class_Vector2>` motion, void* results, :ref:`int<class_int>` result_max, int32_t* result_count **)** |virtual| |
  107. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  108. | :ref:`RID<class_RID>` | :ref:`_body_create<class_PhysicsServer2DExtension_method__body_create>` **(** **)** |virtual| |
  109. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  110. | :ref:`int<class_int>` | :ref:`_body_get_canvas_instance_id<class_PhysicsServer2DExtension_method__body_get_canvas_instance_id>` **(** :ref:`RID<class_RID>` body **)** |virtual| |const| |
  111. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  112. | :ref:`RID[]<class_RID>` | :ref:`_body_get_collision_exceptions<class_PhysicsServer2DExtension_method__body_get_collision_exceptions>` **(** :ref:`RID<class_RID>` body **)** |virtual| |const| |
  113. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  114. | :ref:`int<class_int>` | :ref:`_body_get_collision_layer<class_PhysicsServer2DExtension_method__body_get_collision_layer>` **(** :ref:`RID<class_RID>` body **)** |virtual| |const| |
  115. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  116. | :ref:`int<class_int>` | :ref:`_body_get_collision_mask<class_PhysicsServer2DExtension_method__body_get_collision_mask>` **(** :ref:`RID<class_RID>` body **)** |virtual| |const| |
  117. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  118. | :ref:`float<class_float>` | :ref:`_body_get_collision_priority<class_PhysicsServer2DExtension_method__body_get_collision_priority>` **(** :ref:`RID<class_RID>` body **)** |virtual| |const| |
  119. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  120. | :ref:`Vector2<class_Vector2>` | :ref:`_body_get_constant_force<class_PhysicsServer2DExtension_method__body_get_constant_force>` **(** :ref:`RID<class_RID>` body **)** |virtual| |const| |
  121. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  122. | :ref:`float<class_float>` | :ref:`_body_get_constant_torque<class_PhysicsServer2DExtension_method__body_get_constant_torque>` **(** :ref:`RID<class_RID>` body **)** |virtual| |const| |
  123. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  124. | :ref:`float<class_float>` | :ref:`_body_get_contacts_reported_depth_threshold<class_PhysicsServer2DExtension_method__body_get_contacts_reported_depth_threshold>` **(** :ref:`RID<class_RID>` body **)** |virtual| |const| |
  125. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  126. | :ref:`CCDMode<enum_PhysicsServer2D_CCDMode>` | :ref:`_body_get_continuous_collision_detection_mode<class_PhysicsServer2DExtension_method__body_get_continuous_collision_detection_mode>` **(** :ref:`RID<class_RID>` body **)** |virtual| |const| |
  127. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  128. | :ref:`PhysicsDirectBodyState2D<class_PhysicsDirectBodyState2D>` | :ref:`_body_get_direct_state<class_PhysicsServer2DExtension_method__body_get_direct_state>` **(** :ref:`RID<class_RID>` body **)** |virtual| |
  129. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  130. | :ref:`int<class_int>` | :ref:`_body_get_max_contacts_reported<class_PhysicsServer2DExtension_method__body_get_max_contacts_reported>` **(** :ref:`RID<class_RID>` body **)** |virtual| |const| |
  131. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  132. | :ref:`BodyMode<enum_PhysicsServer2D_BodyMode>` | :ref:`_body_get_mode<class_PhysicsServer2DExtension_method__body_get_mode>` **(** :ref:`RID<class_RID>` body **)** |virtual| |const| |
  133. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  134. | :ref:`int<class_int>` | :ref:`_body_get_object_instance_id<class_PhysicsServer2DExtension_method__body_get_object_instance_id>` **(** :ref:`RID<class_RID>` body **)** |virtual| |const| |
  135. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  136. | :ref:`Variant<class_Variant>` | :ref:`_body_get_param<class_PhysicsServer2DExtension_method__body_get_param>` **(** :ref:`RID<class_RID>` body, :ref:`BodyParameter<enum_PhysicsServer2D_BodyParameter>` param **)** |virtual| |const| |
  137. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  138. | :ref:`RID<class_RID>` | :ref:`_body_get_shape<class_PhysicsServer2DExtension_method__body_get_shape>` **(** :ref:`RID<class_RID>` body, :ref:`int<class_int>` shape_idx **)** |virtual| |const| |
  139. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  140. | :ref:`int<class_int>` | :ref:`_body_get_shape_count<class_PhysicsServer2DExtension_method__body_get_shape_count>` **(** :ref:`RID<class_RID>` body **)** |virtual| |const| |
  141. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  142. | :ref:`Transform2D<class_Transform2D>` | :ref:`_body_get_shape_transform<class_PhysicsServer2DExtension_method__body_get_shape_transform>` **(** :ref:`RID<class_RID>` body, :ref:`int<class_int>` shape_idx **)** |virtual| |const| |
  143. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  144. | :ref:`RID<class_RID>` | :ref:`_body_get_space<class_PhysicsServer2DExtension_method__body_get_space>` **(** :ref:`RID<class_RID>` body **)** |virtual| |const| |
  145. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  146. | :ref:`Variant<class_Variant>` | :ref:`_body_get_state<class_PhysicsServer2DExtension_method__body_get_state>` **(** :ref:`RID<class_RID>` body, :ref:`BodyState<enum_PhysicsServer2D_BodyState>` state **)** |virtual| |const| |
  147. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  148. | :ref:`bool<class_bool>` | :ref:`_body_is_omitting_force_integration<class_PhysicsServer2DExtension_method__body_is_omitting_force_integration>` **(** :ref:`RID<class_RID>` body **)** |virtual| |const| |
  149. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  150. | void | :ref:`_body_remove_collision_exception<class_PhysicsServer2DExtension_method__body_remove_collision_exception>` **(** :ref:`RID<class_RID>` body, :ref:`RID<class_RID>` excepted_body **)** |virtual| |
  151. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  152. | void | :ref:`_body_remove_shape<class_PhysicsServer2DExtension_method__body_remove_shape>` **(** :ref:`RID<class_RID>` body, :ref:`int<class_int>` shape_idx **)** |virtual| |
  153. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  154. | void | :ref:`_body_reset_mass_properties<class_PhysicsServer2DExtension_method__body_reset_mass_properties>` **(** :ref:`RID<class_RID>` body **)** |virtual| |
  155. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  156. | void | :ref:`_body_set_axis_velocity<class_PhysicsServer2DExtension_method__body_set_axis_velocity>` **(** :ref:`RID<class_RID>` body, :ref:`Vector2<class_Vector2>` axis_velocity **)** |virtual| |
  157. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  158. | void | :ref:`_body_set_collision_layer<class_PhysicsServer2DExtension_method__body_set_collision_layer>` **(** :ref:`RID<class_RID>` body, :ref:`int<class_int>` layer **)** |virtual| |
  159. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  160. | void | :ref:`_body_set_collision_mask<class_PhysicsServer2DExtension_method__body_set_collision_mask>` **(** :ref:`RID<class_RID>` body, :ref:`int<class_int>` mask **)** |virtual| |
  161. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  162. | void | :ref:`_body_set_collision_priority<class_PhysicsServer2DExtension_method__body_set_collision_priority>` **(** :ref:`RID<class_RID>` body, :ref:`float<class_float>` priority **)** |virtual| |
  163. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  164. | void | :ref:`_body_set_constant_force<class_PhysicsServer2DExtension_method__body_set_constant_force>` **(** :ref:`RID<class_RID>` body, :ref:`Vector2<class_Vector2>` force **)** |virtual| |
  165. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  166. | void | :ref:`_body_set_constant_torque<class_PhysicsServer2DExtension_method__body_set_constant_torque>` **(** :ref:`RID<class_RID>` body, :ref:`float<class_float>` torque **)** |virtual| |
  167. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  168. | void | :ref:`_body_set_contacts_reported_depth_threshold<class_PhysicsServer2DExtension_method__body_set_contacts_reported_depth_threshold>` **(** :ref:`RID<class_RID>` body, :ref:`float<class_float>` threshold **)** |virtual| |
  169. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  170. | void | :ref:`_body_set_continuous_collision_detection_mode<class_PhysicsServer2DExtension_method__body_set_continuous_collision_detection_mode>` **(** :ref:`RID<class_RID>` body, :ref:`CCDMode<enum_PhysicsServer2D_CCDMode>` mode **)** |virtual| |
  171. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  172. | void | :ref:`_body_set_force_integration_callback<class_PhysicsServer2DExtension_method__body_set_force_integration_callback>` **(** :ref:`RID<class_RID>` body, :ref:`Callable<class_Callable>` callable, :ref:`Variant<class_Variant>` userdata **)** |virtual| |
  173. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  174. | void | :ref:`_body_set_max_contacts_reported<class_PhysicsServer2DExtension_method__body_set_max_contacts_reported>` **(** :ref:`RID<class_RID>` body, :ref:`int<class_int>` amount **)** |virtual| |
  175. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  176. | void | :ref:`_body_set_mode<class_PhysicsServer2DExtension_method__body_set_mode>` **(** :ref:`RID<class_RID>` body, :ref:`BodyMode<enum_PhysicsServer2D_BodyMode>` mode **)** |virtual| |
  177. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  178. | void | :ref:`_body_set_omit_force_integration<class_PhysicsServer2DExtension_method__body_set_omit_force_integration>` **(** :ref:`RID<class_RID>` body, :ref:`bool<class_bool>` enable **)** |virtual| |
  179. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  180. | void | :ref:`_body_set_param<class_PhysicsServer2DExtension_method__body_set_param>` **(** :ref:`RID<class_RID>` body, :ref:`BodyParameter<enum_PhysicsServer2D_BodyParameter>` param, :ref:`Variant<class_Variant>` value **)** |virtual| |
  181. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  182. | void | :ref:`_body_set_pickable<class_PhysicsServer2DExtension_method__body_set_pickable>` **(** :ref:`RID<class_RID>` body, :ref:`bool<class_bool>` pickable **)** |virtual| |
  183. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  184. | void | :ref:`_body_set_shape<class_PhysicsServer2DExtension_method__body_set_shape>` **(** :ref:`RID<class_RID>` body, :ref:`int<class_int>` shape_idx, :ref:`RID<class_RID>` shape **)** |virtual| |
  185. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  186. | void | :ref:`_body_set_shape_as_one_way_collision<class_PhysicsServer2DExtension_method__body_set_shape_as_one_way_collision>` **(** :ref:`RID<class_RID>` body, :ref:`int<class_int>` shape_idx, :ref:`bool<class_bool>` enable, :ref:`float<class_float>` margin **)** |virtual| |
  187. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  188. | void | :ref:`_body_set_shape_disabled<class_PhysicsServer2DExtension_method__body_set_shape_disabled>` **(** :ref:`RID<class_RID>` body, :ref:`int<class_int>` shape_idx, :ref:`bool<class_bool>` disabled **)** |virtual| |
  189. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  190. | void | :ref:`_body_set_shape_transform<class_PhysicsServer2DExtension_method__body_set_shape_transform>` **(** :ref:`RID<class_RID>` body, :ref:`int<class_int>` shape_idx, :ref:`Transform2D<class_Transform2D>` transform **)** |virtual| |
  191. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  192. | void | :ref:`_body_set_space<class_PhysicsServer2DExtension_method__body_set_space>` **(** :ref:`RID<class_RID>` body, :ref:`RID<class_RID>` space **)** |virtual| |
  193. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  194. | void | :ref:`_body_set_state<class_PhysicsServer2DExtension_method__body_set_state>` **(** :ref:`RID<class_RID>` body, :ref:`BodyState<enum_PhysicsServer2D_BodyState>` state, :ref:`Variant<class_Variant>` value **)** |virtual| |
  195. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  196. | void | :ref:`_body_set_state_sync_callback<class_PhysicsServer2DExtension_method__body_set_state_sync_callback>` **(** :ref:`RID<class_RID>` body, :ref:`Callable<class_Callable>` callable **)** |virtual| |
  197. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  198. | :ref:`bool<class_bool>` | :ref:`_body_test_motion<class_PhysicsServer2DExtension_method__body_test_motion>` **(** :ref:`RID<class_RID>` body, :ref:`Transform2D<class_Transform2D>` from, :ref:`Vector2<class_Vector2>` motion, :ref:`float<class_float>` margin, :ref:`bool<class_bool>` collide_separation_ray, :ref:`bool<class_bool>` recovery_as_collision, PhysicsServer2DExtensionMotionResult* result **)** |virtual| |const| |
  199. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  200. | :ref:`RID<class_RID>` | :ref:`_capsule_shape_create<class_PhysicsServer2DExtension_method__capsule_shape_create>` **(** **)** |virtual| |
  201. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  202. | :ref:`RID<class_RID>` | :ref:`_circle_shape_create<class_PhysicsServer2DExtension_method__circle_shape_create>` **(** **)** |virtual| |
  203. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  204. | :ref:`RID<class_RID>` | :ref:`_concave_polygon_shape_create<class_PhysicsServer2DExtension_method__concave_polygon_shape_create>` **(** **)** |virtual| |
  205. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  206. | :ref:`RID<class_RID>` | :ref:`_convex_polygon_shape_create<class_PhysicsServer2DExtension_method__convex_polygon_shape_create>` **(** **)** |virtual| |
  207. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  208. | :ref:`float<class_float>` | :ref:`_damped_spring_joint_get_param<class_PhysicsServer2DExtension_method__damped_spring_joint_get_param>` **(** :ref:`RID<class_RID>` joint, :ref:`DampedSpringParam<enum_PhysicsServer2D_DampedSpringParam>` param **)** |virtual| |const| |
  209. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  210. | void | :ref:`_damped_spring_joint_set_param<class_PhysicsServer2DExtension_method__damped_spring_joint_set_param>` **(** :ref:`RID<class_RID>` joint, :ref:`DampedSpringParam<enum_PhysicsServer2D_DampedSpringParam>` param, :ref:`float<class_float>` value **)** |virtual| |
  211. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  212. | void | :ref:`_end_sync<class_PhysicsServer2DExtension_method__end_sync>` **(** **)** |virtual| |
  213. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  214. | void | :ref:`_finish<class_PhysicsServer2DExtension_method__finish>` **(** **)** |virtual| |
  215. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  216. | void | :ref:`_flush_queries<class_PhysicsServer2DExtension_method__flush_queries>` **(** **)** |virtual| |
  217. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  218. | void | :ref:`_free_rid<class_PhysicsServer2DExtension_method__free_rid>` **(** :ref:`RID<class_RID>` rid **)** |virtual| |
  219. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  220. | :ref:`int<class_int>` | :ref:`_get_process_info<class_PhysicsServer2DExtension_method__get_process_info>` **(** :ref:`ProcessInfo<enum_PhysicsServer2D_ProcessInfo>` process_info **)** |virtual| |
  221. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  222. | void | :ref:`_init<class_PhysicsServer2DExtension_method__init>` **(** **)** |virtual| |
  223. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  224. | :ref:`bool<class_bool>` | :ref:`_is_flushing_queries<class_PhysicsServer2DExtension_method__is_flushing_queries>` **(** **)** |virtual| |const| |
  225. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  226. | void | :ref:`_joint_clear<class_PhysicsServer2DExtension_method__joint_clear>` **(** :ref:`RID<class_RID>` joint **)** |virtual| |
  227. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  228. | :ref:`RID<class_RID>` | :ref:`_joint_create<class_PhysicsServer2DExtension_method__joint_create>` **(** **)** |virtual| |
  229. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  230. | void | :ref:`_joint_disable_collisions_between_bodies<class_PhysicsServer2DExtension_method__joint_disable_collisions_between_bodies>` **(** :ref:`RID<class_RID>` joint, :ref:`bool<class_bool>` disable **)** |virtual| |
  231. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  232. | :ref:`float<class_float>` | :ref:`_joint_get_param<class_PhysicsServer2DExtension_method__joint_get_param>` **(** :ref:`RID<class_RID>` joint, :ref:`JointParam<enum_PhysicsServer2D_JointParam>` param **)** |virtual| |const| |
  233. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  234. | :ref:`JointType<enum_PhysicsServer2D_JointType>` | :ref:`_joint_get_type<class_PhysicsServer2DExtension_method__joint_get_type>` **(** :ref:`RID<class_RID>` joint **)** |virtual| |const| |
  235. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  236. | :ref:`bool<class_bool>` | :ref:`_joint_is_disabled_collisions_between_bodies<class_PhysicsServer2DExtension_method__joint_is_disabled_collisions_between_bodies>` **(** :ref:`RID<class_RID>` joint **)** |virtual| |const| |
  237. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  238. | void | :ref:`_joint_make_damped_spring<class_PhysicsServer2DExtension_method__joint_make_damped_spring>` **(** :ref:`RID<class_RID>` joint, :ref:`Vector2<class_Vector2>` anchor_a, :ref:`Vector2<class_Vector2>` anchor_b, :ref:`RID<class_RID>` body_a, :ref:`RID<class_RID>` body_b **)** |virtual| |
  239. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  240. | void | :ref:`_joint_make_groove<class_PhysicsServer2DExtension_method__joint_make_groove>` **(** :ref:`RID<class_RID>` joint, :ref:`Vector2<class_Vector2>` a_groove1, :ref:`Vector2<class_Vector2>` a_groove2, :ref:`Vector2<class_Vector2>` b_anchor, :ref:`RID<class_RID>` body_a, :ref:`RID<class_RID>` body_b **)** |virtual| |
  241. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  242. | void | :ref:`_joint_make_pin<class_PhysicsServer2DExtension_method__joint_make_pin>` **(** :ref:`RID<class_RID>` joint, :ref:`Vector2<class_Vector2>` anchor, :ref:`RID<class_RID>` body_a, :ref:`RID<class_RID>` body_b **)** |virtual| |
  243. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  244. | void | :ref:`_joint_set_param<class_PhysicsServer2DExtension_method__joint_set_param>` **(** :ref:`RID<class_RID>` joint, :ref:`JointParam<enum_PhysicsServer2D_JointParam>` param, :ref:`float<class_float>` value **)** |virtual| |
  245. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  246. | :ref:`float<class_float>` | :ref:`_pin_joint_get_param<class_PhysicsServer2DExtension_method__pin_joint_get_param>` **(** :ref:`RID<class_RID>` joint, :ref:`PinJointParam<enum_PhysicsServer2D_PinJointParam>` param **)** |virtual| |const| |
  247. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  248. | void | :ref:`_pin_joint_set_param<class_PhysicsServer2DExtension_method__pin_joint_set_param>` **(** :ref:`RID<class_RID>` joint, :ref:`PinJointParam<enum_PhysicsServer2D_PinJointParam>` param, :ref:`float<class_float>` value **)** |virtual| |
  249. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  250. | :ref:`RID<class_RID>` | :ref:`_rectangle_shape_create<class_PhysicsServer2DExtension_method__rectangle_shape_create>` **(** **)** |virtual| |
  251. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  252. | :ref:`RID<class_RID>` | :ref:`_segment_shape_create<class_PhysicsServer2DExtension_method__segment_shape_create>` **(** **)** |virtual| |
  253. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  254. | :ref:`RID<class_RID>` | :ref:`_separation_ray_shape_create<class_PhysicsServer2DExtension_method__separation_ray_shape_create>` **(** **)** |virtual| |
  255. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  256. | void | :ref:`_set_active<class_PhysicsServer2DExtension_method__set_active>` **(** :ref:`bool<class_bool>` active **)** |virtual| |
  257. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  258. | :ref:`bool<class_bool>` | :ref:`_shape_collide<class_PhysicsServer2DExtension_method__shape_collide>` **(** :ref:`RID<class_RID>` shape_A, :ref:`Transform2D<class_Transform2D>` xform_A, :ref:`Vector2<class_Vector2>` motion_A, :ref:`RID<class_RID>` shape_B, :ref:`Transform2D<class_Transform2D>` xform_B, :ref:`Vector2<class_Vector2>` motion_B, void* results, :ref:`int<class_int>` result_max, int32_t* result_count **)** |virtual| |
  259. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  260. | :ref:`float<class_float>` | :ref:`_shape_get_custom_solver_bias<class_PhysicsServer2DExtension_method__shape_get_custom_solver_bias>` **(** :ref:`RID<class_RID>` shape **)** |virtual| |const| |
  261. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  262. | :ref:`Variant<class_Variant>` | :ref:`_shape_get_data<class_PhysicsServer2DExtension_method__shape_get_data>` **(** :ref:`RID<class_RID>` shape **)** |virtual| |const| |
  263. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  264. | :ref:`ShapeType<enum_PhysicsServer2D_ShapeType>` | :ref:`_shape_get_type<class_PhysicsServer2DExtension_method__shape_get_type>` **(** :ref:`RID<class_RID>` shape **)** |virtual| |const| |
  265. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  266. | void | :ref:`_shape_set_custom_solver_bias<class_PhysicsServer2DExtension_method__shape_set_custom_solver_bias>` **(** :ref:`RID<class_RID>` shape, :ref:`float<class_float>` bias **)** |virtual| |
  267. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  268. | void | :ref:`_shape_set_data<class_PhysicsServer2DExtension_method__shape_set_data>` **(** :ref:`RID<class_RID>` shape, :ref:`Variant<class_Variant>` data **)** |virtual| |
  269. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  270. | :ref:`RID<class_RID>` | :ref:`_space_create<class_PhysicsServer2DExtension_method__space_create>` **(** **)** |virtual| |
  271. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  272. | :ref:`int<class_int>` | :ref:`_space_get_contact_count<class_PhysicsServer2DExtension_method__space_get_contact_count>` **(** :ref:`RID<class_RID>` space **)** |virtual| |const| |
  273. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  274. | :ref:`PackedVector2Array<class_PackedVector2Array>` | :ref:`_space_get_contacts<class_PhysicsServer2DExtension_method__space_get_contacts>` **(** :ref:`RID<class_RID>` space **)** |virtual| |const| |
  275. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  276. | :ref:`PhysicsDirectSpaceState2D<class_PhysicsDirectSpaceState2D>` | :ref:`_space_get_direct_state<class_PhysicsServer2DExtension_method__space_get_direct_state>` **(** :ref:`RID<class_RID>` space **)** |virtual| |
  277. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  278. | :ref:`float<class_float>` | :ref:`_space_get_param<class_PhysicsServer2DExtension_method__space_get_param>` **(** :ref:`RID<class_RID>` space, :ref:`SpaceParameter<enum_PhysicsServer2D_SpaceParameter>` param **)** |virtual| |const| |
  279. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  280. | :ref:`bool<class_bool>` | :ref:`_space_is_active<class_PhysicsServer2DExtension_method__space_is_active>` **(** :ref:`RID<class_RID>` space **)** |virtual| |const| |
  281. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  282. | void | :ref:`_space_set_active<class_PhysicsServer2DExtension_method__space_set_active>` **(** :ref:`RID<class_RID>` space, :ref:`bool<class_bool>` active **)** |virtual| |
  283. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  284. | void | :ref:`_space_set_debug_contacts<class_PhysicsServer2DExtension_method__space_set_debug_contacts>` **(** :ref:`RID<class_RID>` space, :ref:`int<class_int>` max_contacts **)** |virtual| |
  285. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  286. | void | :ref:`_space_set_param<class_PhysicsServer2DExtension_method__space_set_param>` **(** :ref:`RID<class_RID>` space, :ref:`SpaceParameter<enum_PhysicsServer2D_SpaceParameter>` param, :ref:`float<class_float>` value **)** |virtual| |
  287. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  288. | void | :ref:`_step<class_PhysicsServer2DExtension_method__step>` **(** :ref:`float<class_float>` step **)** |virtual| |
  289. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  290. | void | :ref:`_sync<class_PhysicsServer2DExtension_method__sync>` **(** **)** |virtual| |
  291. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  292. | :ref:`RID<class_RID>` | :ref:`_world_boundary_shape_create<class_PhysicsServer2DExtension_method__world_boundary_shape_create>` **(** **)** |virtual| |
  293. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  294. | :ref:`bool<class_bool>` | :ref:`body_test_motion_is_excluding_body<class_PhysicsServer2DExtension_method_body_test_motion_is_excluding_body>` **(** :ref:`RID<class_RID>` body **)** |const| |
  295. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  296. | :ref:`bool<class_bool>` | :ref:`body_test_motion_is_excluding_object<class_PhysicsServer2DExtension_method_body_test_motion_is_excluding_object>` **(** :ref:`int<class_int>` object **)** |const| |
  297. +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  298. .. rst-class:: classref-section-separator
  299. ----
  300. .. rst-class:: classref-descriptions-group
  301. Method Descriptions
  302. -------------------
  303. .. _class_PhysicsServer2DExtension_method__area_add_shape:
  304. .. rst-class:: classref-method
  305. void **_area_add_shape** **(** :ref:`RID<class_RID>` area, :ref:`RID<class_RID>` shape, :ref:`Transform2D<class_Transform2D>` transform, :ref:`bool<class_bool>` disabled **)** |virtual|
  306. .. container:: contribute
  307. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  308. .. rst-class:: classref-item-separator
  309. ----
  310. .. _class_PhysicsServer2DExtension_method__area_attach_canvas_instance_id:
  311. .. rst-class:: classref-method
  312. void **_area_attach_canvas_instance_id** **(** :ref:`RID<class_RID>` area, :ref:`int<class_int>` id **)** |virtual|
  313. .. container:: contribute
  314. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  315. .. rst-class:: classref-item-separator
  316. ----
  317. .. _class_PhysicsServer2DExtension_method__area_attach_object_instance_id:
  318. .. rst-class:: classref-method
  319. void **_area_attach_object_instance_id** **(** :ref:`RID<class_RID>` area, :ref:`int<class_int>` id **)** |virtual|
  320. .. container:: contribute
  321. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  322. .. rst-class:: classref-item-separator
  323. ----
  324. .. _class_PhysicsServer2DExtension_method__area_clear_shapes:
  325. .. rst-class:: classref-method
  326. void **_area_clear_shapes** **(** :ref:`RID<class_RID>` area **)** |virtual|
  327. .. container:: contribute
  328. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  329. .. rst-class:: classref-item-separator
  330. ----
  331. .. _class_PhysicsServer2DExtension_method__area_create:
  332. .. rst-class:: classref-method
  333. :ref:`RID<class_RID>` **_area_create** **(** **)** |virtual|
  334. .. container:: contribute
  335. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  336. .. rst-class:: classref-item-separator
  337. ----
  338. .. _class_PhysicsServer2DExtension_method__area_get_canvas_instance_id:
  339. .. rst-class:: classref-method
  340. :ref:`int<class_int>` **_area_get_canvas_instance_id** **(** :ref:`RID<class_RID>` area **)** |virtual| |const|
  341. .. container:: contribute
  342. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  343. .. rst-class:: classref-item-separator
  344. ----
  345. .. _class_PhysicsServer2DExtension_method__area_get_collision_layer:
  346. .. rst-class:: classref-method
  347. :ref:`int<class_int>` **_area_get_collision_layer** **(** :ref:`RID<class_RID>` area **)** |virtual| |const|
  348. .. container:: contribute
  349. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  350. .. rst-class:: classref-item-separator
  351. ----
  352. .. _class_PhysicsServer2DExtension_method__area_get_collision_mask:
  353. .. rst-class:: classref-method
  354. :ref:`int<class_int>` **_area_get_collision_mask** **(** :ref:`RID<class_RID>` area **)** |virtual| |const|
  355. .. container:: contribute
  356. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  357. .. rst-class:: classref-item-separator
  358. ----
  359. .. _class_PhysicsServer2DExtension_method__area_get_object_instance_id:
  360. .. rst-class:: classref-method
  361. :ref:`int<class_int>` **_area_get_object_instance_id** **(** :ref:`RID<class_RID>` area **)** |virtual| |const|
  362. .. container:: contribute
  363. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  364. .. rst-class:: classref-item-separator
  365. ----
  366. .. _class_PhysicsServer2DExtension_method__area_get_param:
  367. .. rst-class:: classref-method
  368. :ref:`Variant<class_Variant>` **_area_get_param** **(** :ref:`RID<class_RID>` area, :ref:`AreaParameter<enum_PhysicsServer2D_AreaParameter>` param **)** |virtual| |const|
  369. .. container:: contribute
  370. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  371. .. rst-class:: classref-item-separator
  372. ----
  373. .. _class_PhysicsServer2DExtension_method__area_get_shape:
  374. .. rst-class:: classref-method
  375. :ref:`RID<class_RID>` **_area_get_shape** **(** :ref:`RID<class_RID>` area, :ref:`int<class_int>` shape_idx **)** |virtual| |const|
  376. .. container:: contribute
  377. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  378. .. rst-class:: classref-item-separator
  379. ----
  380. .. _class_PhysicsServer2DExtension_method__area_get_shape_count:
  381. .. rst-class:: classref-method
  382. :ref:`int<class_int>` **_area_get_shape_count** **(** :ref:`RID<class_RID>` area **)** |virtual| |const|
  383. .. container:: contribute
  384. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  385. .. rst-class:: classref-item-separator
  386. ----
  387. .. _class_PhysicsServer2DExtension_method__area_get_shape_transform:
  388. .. rst-class:: classref-method
  389. :ref:`Transform2D<class_Transform2D>` **_area_get_shape_transform** **(** :ref:`RID<class_RID>` area, :ref:`int<class_int>` shape_idx **)** |virtual| |const|
  390. .. container:: contribute
  391. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  392. .. rst-class:: classref-item-separator
  393. ----
  394. .. _class_PhysicsServer2DExtension_method__area_get_space:
  395. .. rst-class:: classref-method
  396. :ref:`RID<class_RID>` **_area_get_space** **(** :ref:`RID<class_RID>` area **)** |virtual| |const|
  397. .. container:: contribute
  398. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  399. .. rst-class:: classref-item-separator
  400. ----
  401. .. _class_PhysicsServer2DExtension_method__area_get_transform:
  402. .. rst-class:: classref-method
  403. :ref:`Transform2D<class_Transform2D>` **_area_get_transform** **(** :ref:`RID<class_RID>` area **)** |virtual| |const|
  404. .. container:: contribute
  405. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  406. .. rst-class:: classref-item-separator
  407. ----
  408. .. _class_PhysicsServer2DExtension_method__area_remove_shape:
  409. .. rst-class:: classref-method
  410. void **_area_remove_shape** **(** :ref:`RID<class_RID>` area, :ref:`int<class_int>` shape_idx **)** |virtual|
  411. .. container:: contribute
  412. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  413. .. rst-class:: classref-item-separator
  414. ----
  415. .. _class_PhysicsServer2DExtension_method__area_set_area_monitor_callback:
  416. .. rst-class:: classref-method
  417. void **_area_set_area_monitor_callback** **(** :ref:`RID<class_RID>` area, :ref:`Callable<class_Callable>` callback **)** |virtual|
  418. .. container:: contribute
  419. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  420. .. rst-class:: classref-item-separator
  421. ----
  422. .. _class_PhysicsServer2DExtension_method__area_set_collision_layer:
  423. .. rst-class:: classref-method
  424. void **_area_set_collision_layer** **(** :ref:`RID<class_RID>` area, :ref:`int<class_int>` layer **)** |virtual|
  425. .. container:: contribute
  426. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  427. .. rst-class:: classref-item-separator
  428. ----
  429. .. _class_PhysicsServer2DExtension_method__area_set_collision_mask:
  430. .. rst-class:: classref-method
  431. void **_area_set_collision_mask** **(** :ref:`RID<class_RID>` area, :ref:`int<class_int>` mask **)** |virtual|
  432. .. container:: contribute
  433. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  434. .. rst-class:: classref-item-separator
  435. ----
  436. .. _class_PhysicsServer2DExtension_method__area_set_monitor_callback:
  437. .. rst-class:: classref-method
  438. void **_area_set_monitor_callback** **(** :ref:`RID<class_RID>` area, :ref:`Callable<class_Callable>` callback **)** |virtual|
  439. .. container:: contribute
  440. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  441. .. rst-class:: classref-item-separator
  442. ----
  443. .. _class_PhysicsServer2DExtension_method__area_set_monitorable:
  444. .. rst-class:: classref-method
  445. void **_area_set_monitorable** **(** :ref:`RID<class_RID>` area, :ref:`bool<class_bool>` monitorable **)** |virtual|
  446. .. container:: contribute
  447. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  448. .. rst-class:: classref-item-separator
  449. ----
  450. .. _class_PhysicsServer2DExtension_method__area_set_param:
  451. .. rst-class:: classref-method
  452. void **_area_set_param** **(** :ref:`RID<class_RID>` area, :ref:`AreaParameter<enum_PhysicsServer2D_AreaParameter>` param, :ref:`Variant<class_Variant>` value **)** |virtual|
  453. .. container:: contribute
  454. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  455. .. rst-class:: classref-item-separator
  456. ----
  457. .. _class_PhysicsServer2DExtension_method__area_set_pickable:
  458. .. rst-class:: classref-method
  459. void **_area_set_pickable** **(** :ref:`RID<class_RID>` area, :ref:`bool<class_bool>` pickable **)** |virtual|
  460. .. container:: contribute
  461. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  462. .. rst-class:: classref-item-separator
  463. ----
  464. .. _class_PhysicsServer2DExtension_method__area_set_shape:
  465. .. rst-class:: classref-method
  466. void **_area_set_shape** **(** :ref:`RID<class_RID>` area, :ref:`int<class_int>` shape_idx, :ref:`RID<class_RID>` shape **)** |virtual|
  467. .. container:: contribute
  468. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  469. .. rst-class:: classref-item-separator
  470. ----
  471. .. _class_PhysicsServer2DExtension_method__area_set_shape_disabled:
  472. .. rst-class:: classref-method
  473. void **_area_set_shape_disabled** **(** :ref:`RID<class_RID>` area, :ref:`int<class_int>` shape_idx, :ref:`bool<class_bool>` disabled **)** |virtual|
  474. .. container:: contribute
  475. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  476. .. rst-class:: classref-item-separator
  477. ----
  478. .. _class_PhysicsServer2DExtension_method__area_set_shape_transform:
  479. .. rst-class:: classref-method
  480. void **_area_set_shape_transform** **(** :ref:`RID<class_RID>` area, :ref:`int<class_int>` shape_idx, :ref:`Transform2D<class_Transform2D>` transform **)** |virtual|
  481. .. container:: contribute
  482. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  483. .. rst-class:: classref-item-separator
  484. ----
  485. .. _class_PhysicsServer2DExtension_method__area_set_space:
  486. .. rst-class:: classref-method
  487. void **_area_set_space** **(** :ref:`RID<class_RID>` area, :ref:`RID<class_RID>` space **)** |virtual|
  488. .. container:: contribute
  489. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  490. .. rst-class:: classref-item-separator
  491. ----
  492. .. _class_PhysicsServer2DExtension_method__area_set_transform:
  493. .. rst-class:: classref-method
  494. void **_area_set_transform** **(** :ref:`RID<class_RID>` area, :ref:`Transform2D<class_Transform2D>` transform **)** |virtual|
  495. .. container:: contribute
  496. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  497. .. rst-class:: classref-item-separator
  498. ----
  499. .. _class_PhysicsServer2DExtension_method__body_add_collision_exception:
  500. .. rst-class:: classref-method
  501. void **_body_add_collision_exception** **(** :ref:`RID<class_RID>` body, :ref:`RID<class_RID>` excepted_body **)** |virtual|
  502. .. container:: contribute
  503. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  504. .. rst-class:: classref-item-separator
  505. ----
  506. .. _class_PhysicsServer2DExtension_method__body_add_constant_central_force:
  507. .. rst-class:: classref-method
  508. void **_body_add_constant_central_force** **(** :ref:`RID<class_RID>` body, :ref:`Vector2<class_Vector2>` force **)** |virtual|
  509. .. container:: contribute
  510. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  511. .. rst-class:: classref-item-separator
  512. ----
  513. .. _class_PhysicsServer2DExtension_method__body_add_constant_force:
  514. .. rst-class:: classref-method
  515. void **_body_add_constant_force** **(** :ref:`RID<class_RID>` body, :ref:`Vector2<class_Vector2>` force, :ref:`Vector2<class_Vector2>` position **)** |virtual|
  516. .. container:: contribute
  517. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  518. .. rst-class:: classref-item-separator
  519. ----
  520. .. _class_PhysicsServer2DExtension_method__body_add_constant_torque:
  521. .. rst-class:: classref-method
  522. void **_body_add_constant_torque** **(** :ref:`RID<class_RID>` body, :ref:`float<class_float>` torque **)** |virtual|
  523. .. container:: contribute
  524. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  525. .. rst-class:: classref-item-separator
  526. ----
  527. .. _class_PhysicsServer2DExtension_method__body_add_shape:
  528. .. rst-class:: classref-method
  529. void **_body_add_shape** **(** :ref:`RID<class_RID>` body, :ref:`RID<class_RID>` shape, :ref:`Transform2D<class_Transform2D>` transform, :ref:`bool<class_bool>` disabled **)** |virtual|
  530. .. container:: contribute
  531. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  532. .. rst-class:: classref-item-separator
  533. ----
  534. .. _class_PhysicsServer2DExtension_method__body_apply_central_force:
  535. .. rst-class:: classref-method
  536. void **_body_apply_central_force** **(** :ref:`RID<class_RID>` body, :ref:`Vector2<class_Vector2>` force **)** |virtual|
  537. .. container:: contribute
  538. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  539. .. rst-class:: classref-item-separator
  540. ----
  541. .. _class_PhysicsServer2DExtension_method__body_apply_central_impulse:
  542. .. rst-class:: classref-method
  543. void **_body_apply_central_impulse** **(** :ref:`RID<class_RID>` body, :ref:`Vector2<class_Vector2>` impulse **)** |virtual|
  544. .. container:: contribute
  545. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  546. .. rst-class:: classref-item-separator
  547. ----
  548. .. _class_PhysicsServer2DExtension_method__body_apply_force:
  549. .. rst-class:: classref-method
  550. void **_body_apply_force** **(** :ref:`RID<class_RID>` body, :ref:`Vector2<class_Vector2>` force, :ref:`Vector2<class_Vector2>` position **)** |virtual|
  551. .. container:: contribute
  552. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  553. .. rst-class:: classref-item-separator
  554. ----
  555. .. _class_PhysicsServer2DExtension_method__body_apply_impulse:
  556. .. rst-class:: classref-method
  557. void **_body_apply_impulse** **(** :ref:`RID<class_RID>` body, :ref:`Vector2<class_Vector2>` impulse, :ref:`Vector2<class_Vector2>` position **)** |virtual|
  558. .. container:: contribute
  559. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  560. .. rst-class:: classref-item-separator
  561. ----
  562. .. _class_PhysicsServer2DExtension_method__body_apply_torque:
  563. .. rst-class:: classref-method
  564. void **_body_apply_torque** **(** :ref:`RID<class_RID>` body, :ref:`float<class_float>` torque **)** |virtual|
  565. .. container:: contribute
  566. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  567. .. rst-class:: classref-item-separator
  568. ----
  569. .. _class_PhysicsServer2DExtension_method__body_apply_torque_impulse:
  570. .. rst-class:: classref-method
  571. void **_body_apply_torque_impulse** **(** :ref:`RID<class_RID>` body, :ref:`float<class_float>` impulse **)** |virtual|
  572. .. container:: contribute
  573. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  574. .. rst-class:: classref-item-separator
  575. ----
  576. .. _class_PhysicsServer2DExtension_method__body_attach_canvas_instance_id:
  577. .. rst-class:: classref-method
  578. void **_body_attach_canvas_instance_id** **(** :ref:`RID<class_RID>` body, :ref:`int<class_int>` id **)** |virtual|
  579. .. container:: contribute
  580. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  581. .. rst-class:: classref-item-separator
  582. ----
  583. .. _class_PhysicsServer2DExtension_method__body_attach_object_instance_id:
  584. .. rst-class:: classref-method
  585. void **_body_attach_object_instance_id** **(** :ref:`RID<class_RID>` body, :ref:`int<class_int>` id **)** |virtual|
  586. .. container:: contribute
  587. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  588. .. rst-class:: classref-item-separator
  589. ----
  590. .. _class_PhysicsServer2DExtension_method__body_clear_shapes:
  591. .. rst-class:: classref-method
  592. void **_body_clear_shapes** **(** :ref:`RID<class_RID>` body **)** |virtual|
  593. .. container:: contribute
  594. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  595. .. rst-class:: classref-item-separator
  596. ----
  597. .. _class_PhysicsServer2DExtension_method__body_collide_shape:
  598. .. rst-class:: classref-method
  599. :ref:`bool<class_bool>` **_body_collide_shape** **(** :ref:`RID<class_RID>` body, :ref:`int<class_int>` body_shape, :ref:`RID<class_RID>` shape, :ref:`Transform2D<class_Transform2D>` shape_xform, :ref:`Vector2<class_Vector2>` motion, void* results, :ref:`int<class_int>` result_max, int32_t* result_count **)** |virtual|
  600. .. container:: contribute
  601. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  602. .. rst-class:: classref-item-separator
  603. ----
  604. .. _class_PhysicsServer2DExtension_method__body_create:
  605. .. rst-class:: classref-method
  606. :ref:`RID<class_RID>` **_body_create** **(** **)** |virtual|
  607. .. container:: contribute
  608. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  609. .. rst-class:: classref-item-separator
  610. ----
  611. .. _class_PhysicsServer2DExtension_method__body_get_canvas_instance_id:
  612. .. rst-class:: classref-method
  613. :ref:`int<class_int>` **_body_get_canvas_instance_id** **(** :ref:`RID<class_RID>` body **)** |virtual| |const|
  614. .. container:: contribute
  615. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  616. .. rst-class:: classref-item-separator
  617. ----
  618. .. _class_PhysicsServer2DExtension_method__body_get_collision_exceptions:
  619. .. rst-class:: classref-method
  620. :ref:`RID[]<class_RID>` **_body_get_collision_exceptions** **(** :ref:`RID<class_RID>` body **)** |virtual| |const|
  621. .. container:: contribute
  622. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  623. .. rst-class:: classref-item-separator
  624. ----
  625. .. _class_PhysicsServer2DExtension_method__body_get_collision_layer:
  626. .. rst-class:: classref-method
  627. :ref:`int<class_int>` **_body_get_collision_layer** **(** :ref:`RID<class_RID>` body **)** |virtual| |const|
  628. .. container:: contribute
  629. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  630. .. rst-class:: classref-item-separator
  631. ----
  632. .. _class_PhysicsServer2DExtension_method__body_get_collision_mask:
  633. .. rst-class:: classref-method
  634. :ref:`int<class_int>` **_body_get_collision_mask** **(** :ref:`RID<class_RID>` body **)** |virtual| |const|
  635. .. container:: contribute
  636. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  637. .. rst-class:: classref-item-separator
  638. ----
  639. .. _class_PhysicsServer2DExtension_method__body_get_collision_priority:
  640. .. rst-class:: classref-method
  641. :ref:`float<class_float>` **_body_get_collision_priority** **(** :ref:`RID<class_RID>` body **)** |virtual| |const|
  642. .. container:: contribute
  643. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  644. .. rst-class:: classref-item-separator
  645. ----
  646. .. _class_PhysicsServer2DExtension_method__body_get_constant_force:
  647. .. rst-class:: classref-method
  648. :ref:`Vector2<class_Vector2>` **_body_get_constant_force** **(** :ref:`RID<class_RID>` body **)** |virtual| |const|
  649. .. container:: contribute
  650. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  651. .. rst-class:: classref-item-separator
  652. ----
  653. .. _class_PhysicsServer2DExtension_method__body_get_constant_torque:
  654. .. rst-class:: classref-method
  655. :ref:`float<class_float>` **_body_get_constant_torque** **(** :ref:`RID<class_RID>` body **)** |virtual| |const|
  656. .. container:: contribute
  657. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  658. .. rst-class:: classref-item-separator
  659. ----
  660. .. _class_PhysicsServer2DExtension_method__body_get_contacts_reported_depth_threshold:
  661. .. rst-class:: classref-method
  662. :ref:`float<class_float>` **_body_get_contacts_reported_depth_threshold** **(** :ref:`RID<class_RID>` body **)** |virtual| |const|
  663. .. container:: contribute
  664. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  665. .. rst-class:: classref-item-separator
  666. ----
  667. .. _class_PhysicsServer2DExtension_method__body_get_continuous_collision_detection_mode:
  668. .. rst-class:: classref-method
  669. :ref:`CCDMode<enum_PhysicsServer2D_CCDMode>` **_body_get_continuous_collision_detection_mode** **(** :ref:`RID<class_RID>` body **)** |virtual| |const|
  670. .. container:: contribute
  671. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  672. .. rst-class:: classref-item-separator
  673. ----
  674. .. _class_PhysicsServer2DExtension_method__body_get_direct_state:
  675. .. rst-class:: classref-method
  676. :ref:`PhysicsDirectBodyState2D<class_PhysicsDirectBodyState2D>` **_body_get_direct_state** **(** :ref:`RID<class_RID>` body **)** |virtual|
  677. .. container:: contribute
  678. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  679. .. rst-class:: classref-item-separator
  680. ----
  681. .. _class_PhysicsServer2DExtension_method__body_get_max_contacts_reported:
  682. .. rst-class:: classref-method
  683. :ref:`int<class_int>` **_body_get_max_contacts_reported** **(** :ref:`RID<class_RID>` body **)** |virtual| |const|
  684. .. container:: contribute
  685. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  686. .. rst-class:: classref-item-separator
  687. ----
  688. .. _class_PhysicsServer2DExtension_method__body_get_mode:
  689. .. rst-class:: classref-method
  690. :ref:`BodyMode<enum_PhysicsServer2D_BodyMode>` **_body_get_mode** **(** :ref:`RID<class_RID>` body **)** |virtual| |const|
  691. .. container:: contribute
  692. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  693. .. rst-class:: classref-item-separator
  694. ----
  695. .. _class_PhysicsServer2DExtension_method__body_get_object_instance_id:
  696. .. rst-class:: classref-method
  697. :ref:`int<class_int>` **_body_get_object_instance_id** **(** :ref:`RID<class_RID>` body **)** |virtual| |const|
  698. .. container:: contribute
  699. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  700. .. rst-class:: classref-item-separator
  701. ----
  702. .. _class_PhysicsServer2DExtension_method__body_get_param:
  703. .. rst-class:: classref-method
  704. :ref:`Variant<class_Variant>` **_body_get_param** **(** :ref:`RID<class_RID>` body, :ref:`BodyParameter<enum_PhysicsServer2D_BodyParameter>` param **)** |virtual| |const|
  705. .. container:: contribute
  706. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  707. .. rst-class:: classref-item-separator
  708. ----
  709. .. _class_PhysicsServer2DExtension_method__body_get_shape:
  710. .. rst-class:: classref-method
  711. :ref:`RID<class_RID>` **_body_get_shape** **(** :ref:`RID<class_RID>` body, :ref:`int<class_int>` shape_idx **)** |virtual| |const|
  712. .. container:: contribute
  713. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  714. .. rst-class:: classref-item-separator
  715. ----
  716. .. _class_PhysicsServer2DExtension_method__body_get_shape_count:
  717. .. rst-class:: classref-method
  718. :ref:`int<class_int>` **_body_get_shape_count** **(** :ref:`RID<class_RID>` body **)** |virtual| |const|
  719. .. container:: contribute
  720. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  721. .. rst-class:: classref-item-separator
  722. ----
  723. .. _class_PhysicsServer2DExtension_method__body_get_shape_transform:
  724. .. rst-class:: classref-method
  725. :ref:`Transform2D<class_Transform2D>` **_body_get_shape_transform** **(** :ref:`RID<class_RID>` body, :ref:`int<class_int>` shape_idx **)** |virtual| |const|
  726. .. container:: contribute
  727. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  728. .. rst-class:: classref-item-separator
  729. ----
  730. .. _class_PhysicsServer2DExtension_method__body_get_space:
  731. .. rst-class:: classref-method
  732. :ref:`RID<class_RID>` **_body_get_space** **(** :ref:`RID<class_RID>` body **)** |virtual| |const|
  733. .. container:: contribute
  734. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  735. .. rst-class:: classref-item-separator
  736. ----
  737. .. _class_PhysicsServer2DExtension_method__body_get_state:
  738. .. rst-class:: classref-method
  739. :ref:`Variant<class_Variant>` **_body_get_state** **(** :ref:`RID<class_RID>` body, :ref:`BodyState<enum_PhysicsServer2D_BodyState>` state **)** |virtual| |const|
  740. .. container:: contribute
  741. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  742. .. rst-class:: classref-item-separator
  743. ----
  744. .. _class_PhysicsServer2DExtension_method__body_is_omitting_force_integration:
  745. .. rst-class:: classref-method
  746. :ref:`bool<class_bool>` **_body_is_omitting_force_integration** **(** :ref:`RID<class_RID>` body **)** |virtual| |const|
  747. .. container:: contribute
  748. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  749. .. rst-class:: classref-item-separator
  750. ----
  751. .. _class_PhysicsServer2DExtension_method__body_remove_collision_exception:
  752. .. rst-class:: classref-method
  753. void **_body_remove_collision_exception** **(** :ref:`RID<class_RID>` body, :ref:`RID<class_RID>` excepted_body **)** |virtual|
  754. .. container:: contribute
  755. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  756. .. rst-class:: classref-item-separator
  757. ----
  758. .. _class_PhysicsServer2DExtension_method__body_remove_shape:
  759. .. rst-class:: classref-method
  760. void **_body_remove_shape** **(** :ref:`RID<class_RID>` body, :ref:`int<class_int>` shape_idx **)** |virtual|
  761. .. container:: contribute
  762. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  763. .. rst-class:: classref-item-separator
  764. ----
  765. .. _class_PhysicsServer2DExtension_method__body_reset_mass_properties:
  766. .. rst-class:: classref-method
  767. void **_body_reset_mass_properties** **(** :ref:`RID<class_RID>` body **)** |virtual|
  768. .. container:: contribute
  769. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  770. .. rst-class:: classref-item-separator
  771. ----
  772. .. _class_PhysicsServer2DExtension_method__body_set_axis_velocity:
  773. .. rst-class:: classref-method
  774. void **_body_set_axis_velocity** **(** :ref:`RID<class_RID>` body, :ref:`Vector2<class_Vector2>` axis_velocity **)** |virtual|
  775. .. container:: contribute
  776. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  777. .. rst-class:: classref-item-separator
  778. ----
  779. .. _class_PhysicsServer2DExtension_method__body_set_collision_layer:
  780. .. rst-class:: classref-method
  781. void **_body_set_collision_layer** **(** :ref:`RID<class_RID>` body, :ref:`int<class_int>` layer **)** |virtual|
  782. .. container:: contribute
  783. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  784. .. rst-class:: classref-item-separator
  785. ----
  786. .. _class_PhysicsServer2DExtension_method__body_set_collision_mask:
  787. .. rst-class:: classref-method
  788. void **_body_set_collision_mask** **(** :ref:`RID<class_RID>` body, :ref:`int<class_int>` mask **)** |virtual|
  789. .. container:: contribute
  790. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  791. .. rst-class:: classref-item-separator
  792. ----
  793. .. _class_PhysicsServer2DExtension_method__body_set_collision_priority:
  794. .. rst-class:: classref-method
  795. void **_body_set_collision_priority** **(** :ref:`RID<class_RID>` body, :ref:`float<class_float>` priority **)** |virtual|
  796. .. container:: contribute
  797. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  798. .. rst-class:: classref-item-separator
  799. ----
  800. .. _class_PhysicsServer2DExtension_method__body_set_constant_force:
  801. .. rst-class:: classref-method
  802. void **_body_set_constant_force** **(** :ref:`RID<class_RID>` body, :ref:`Vector2<class_Vector2>` force **)** |virtual|
  803. .. container:: contribute
  804. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  805. .. rst-class:: classref-item-separator
  806. ----
  807. .. _class_PhysicsServer2DExtension_method__body_set_constant_torque:
  808. .. rst-class:: classref-method
  809. void **_body_set_constant_torque** **(** :ref:`RID<class_RID>` body, :ref:`float<class_float>` torque **)** |virtual|
  810. .. container:: contribute
  811. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  812. .. rst-class:: classref-item-separator
  813. ----
  814. .. _class_PhysicsServer2DExtension_method__body_set_contacts_reported_depth_threshold:
  815. .. rst-class:: classref-method
  816. void **_body_set_contacts_reported_depth_threshold** **(** :ref:`RID<class_RID>` body, :ref:`float<class_float>` threshold **)** |virtual|
  817. .. container:: contribute
  818. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  819. .. rst-class:: classref-item-separator
  820. ----
  821. .. _class_PhysicsServer2DExtension_method__body_set_continuous_collision_detection_mode:
  822. .. rst-class:: classref-method
  823. void **_body_set_continuous_collision_detection_mode** **(** :ref:`RID<class_RID>` body, :ref:`CCDMode<enum_PhysicsServer2D_CCDMode>` mode **)** |virtual|
  824. .. container:: contribute
  825. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  826. .. rst-class:: classref-item-separator
  827. ----
  828. .. _class_PhysicsServer2DExtension_method__body_set_force_integration_callback:
  829. .. rst-class:: classref-method
  830. void **_body_set_force_integration_callback** **(** :ref:`RID<class_RID>` body, :ref:`Callable<class_Callable>` callable, :ref:`Variant<class_Variant>` userdata **)** |virtual|
  831. .. container:: contribute
  832. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  833. .. rst-class:: classref-item-separator
  834. ----
  835. .. _class_PhysicsServer2DExtension_method__body_set_max_contacts_reported:
  836. .. rst-class:: classref-method
  837. void **_body_set_max_contacts_reported** **(** :ref:`RID<class_RID>` body, :ref:`int<class_int>` amount **)** |virtual|
  838. .. container:: contribute
  839. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  840. .. rst-class:: classref-item-separator
  841. ----
  842. .. _class_PhysicsServer2DExtension_method__body_set_mode:
  843. .. rst-class:: classref-method
  844. void **_body_set_mode** **(** :ref:`RID<class_RID>` body, :ref:`BodyMode<enum_PhysicsServer2D_BodyMode>` mode **)** |virtual|
  845. .. container:: contribute
  846. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  847. .. rst-class:: classref-item-separator
  848. ----
  849. .. _class_PhysicsServer2DExtension_method__body_set_omit_force_integration:
  850. .. rst-class:: classref-method
  851. void **_body_set_omit_force_integration** **(** :ref:`RID<class_RID>` body, :ref:`bool<class_bool>` enable **)** |virtual|
  852. .. container:: contribute
  853. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  854. .. rst-class:: classref-item-separator
  855. ----
  856. .. _class_PhysicsServer2DExtension_method__body_set_param:
  857. .. rst-class:: classref-method
  858. void **_body_set_param** **(** :ref:`RID<class_RID>` body, :ref:`BodyParameter<enum_PhysicsServer2D_BodyParameter>` param, :ref:`Variant<class_Variant>` value **)** |virtual|
  859. .. container:: contribute
  860. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  861. .. rst-class:: classref-item-separator
  862. ----
  863. .. _class_PhysicsServer2DExtension_method__body_set_pickable:
  864. .. rst-class:: classref-method
  865. void **_body_set_pickable** **(** :ref:`RID<class_RID>` body, :ref:`bool<class_bool>` pickable **)** |virtual|
  866. .. container:: contribute
  867. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  868. .. rst-class:: classref-item-separator
  869. ----
  870. .. _class_PhysicsServer2DExtension_method__body_set_shape:
  871. .. rst-class:: classref-method
  872. void **_body_set_shape** **(** :ref:`RID<class_RID>` body, :ref:`int<class_int>` shape_idx, :ref:`RID<class_RID>` shape **)** |virtual|
  873. .. container:: contribute
  874. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  875. .. rst-class:: classref-item-separator
  876. ----
  877. .. _class_PhysicsServer2DExtension_method__body_set_shape_as_one_way_collision:
  878. .. rst-class:: classref-method
  879. void **_body_set_shape_as_one_way_collision** **(** :ref:`RID<class_RID>` body, :ref:`int<class_int>` shape_idx, :ref:`bool<class_bool>` enable, :ref:`float<class_float>` margin **)** |virtual|
  880. .. container:: contribute
  881. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  882. .. rst-class:: classref-item-separator
  883. ----
  884. .. _class_PhysicsServer2DExtension_method__body_set_shape_disabled:
  885. .. rst-class:: classref-method
  886. void **_body_set_shape_disabled** **(** :ref:`RID<class_RID>` body, :ref:`int<class_int>` shape_idx, :ref:`bool<class_bool>` disabled **)** |virtual|
  887. .. container:: contribute
  888. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  889. .. rst-class:: classref-item-separator
  890. ----
  891. .. _class_PhysicsServer2DExtension_method__body_set_shape_transform:
  892. .. rst-class:: classref-method
  893. void **_body_set_shape_transform** **(** :ref:`RID<class_RID>` body, :ref:`int<class_int>` shape_idx, :ref:`Transform2D<class_Transform2D>` transform **)** |virtual|
  894. .. container:: contribute
  895. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  896. .. rst-class:: classref-item-separator
  897. ----
  898. .. _class_PhysicsServer2DExtension_method__body_set_space:
  899. .. rst-class:: classref-method
  900. void **_body_set_space** **(** :ref:`RID<class_RID>` body, :ref:`RID<class_RID>` space **)** |virtual|
  901. .. container:: contribute
  902. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  903. .. rst-class:: classref-item-separator
  904. ----
  905. .. _class_PhysicsServer2DExtension_method__body_set_state:
  906. .. rst-class:: classref-method
  907. void **_body_set_state** **(** :ref:`RID<class_RID>` body, :ref:`BodyState<enum_PhysicsServer2D_BodyState>` state, :ref:`Variant<class_Variant>` value **)** |virtual|
  908. .. container:: contribute
  909. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  910. .. rst-class:: classref-item-separator
  911. ----
  912. .. _class_PhysicsServer2DExtension_method__body_set_state_sync_callback:
  913. .. rst-class:: classref-method
  914. void **_body_set_state_sync_callback** **(** :ref:`RID<class_RID>` body, :ref:`Callable<class_Callable>` callable **)** |virtual|
  915. .. container:: contribute
  916. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  917. .. rst-class:: classref-item-separator
  918. ----
  919. .. _class_PhysicsServer2DExtension_method__body_test_motion:
  920. .. rst-class:: classref-method
  921. :ref:`bool<class_bool>` **_body_test_motion** **(** :ref:`RID<class_RID>` body, :ref:`Transform2D<class_Transform2D>` from, :ref:`Vector2<class_Vector2>` motion, :ref:`float<class_float>` margin, :ref:`bool<class_bool>` collide_separation_ray, :ref:`bool<class_bool>` recovery_as_collision, PhysicsServer2DExtensionMotionResult* result **)** |virtual| |const|
  922. .. container:: contribute
  923. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  924. .. rst-class:: classref-item-separator
  925. ----
  926. .. _class_PhysicsServer2DExtension_method__capsule_shape_create:
  927. .. rst-class:: classref-method
  928. :ref:`RID<class_RID>` **_capsule_shape_create** **(** **)** |virtual|
  929. .. container:: contribute
  930. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  931. .. rst-class:: classref-item-separator
  932. ----
  933. .. _class_PhysicsServer2DExtension_method__circle_shape_create:
  934. .. rst-class:: classref-method
  935. :ref:`RID<class_RID>` **_circle_shape_create** **(** **)** |virtual|
  936. .. container:: contribute
  937. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  938. .. rst-class:: classref-item-separator
  939. ----
  940. .. _class_PhysicsServer2DExtension_method__concave_polygon_shape_create:
  941. .. rst-class:: classref-method
  942. :ref:`RID<class_RID>` **_concave_polygon_shape_create** **(** **)** |virtual|
  943. .. container:: contribute
  944. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  945. .. rst-class:: classref-item-separator
  946. ----
  947. .. _class_PhysicsServer2DExtension_method__convex_polygon_shape_create:
  948. .. rst-class:: classref-method
  949. :ref:`RID<class_RID>` **_convex_polygon_shape_create** **(** **)** |virtual|
  950. .. container:: contribute
  951. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  952. .. rst-class:: classref-item-separator
  953. ----
  954. .. _class_PhysicsServer2DExtension_method__damped_spring_joint_get_param:
  955. .. rst-class:: classref-method
  956. :ref:`float<class_float>` **_damped_spring_joint_get_param** **(** :ref:`RID<class_RID>` joint, :ref:`DampedSpringParam<enum_PhysicsServer2D_DampedSpringParam>` param **)** |virtual| |const|
  957. .. container:: contribute
  958. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  959. .. rst-class:: classref-item-separator
  960. ----
  961. .. _class_PhysicsServer2DExtension_method__damped_spring_joint_set_param:
  962. .. rst-class:: classref-method
  963. void **_damped_spring_joint_set_param** **(** :ref:`RID<class_RID>` joint, :ref:`DampedSpringParam<enum_PhysicsServer2D_DampedSpringParam>` param, :ref:`float<class_float>` value **)** |virtual|
  964. .. container:: contribute
  965. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  966. .. rst-class:: classref-item-separator
  967. ----
  968. .. _class_PhysicsServer2DExtension_method__end_sync:
  969. .. rst-class:: classref-method
  970. void **_end_sync** **(** **)** |virtual|
  971. .. container:: contribute
  972. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  973. .. rst-class:: classref-item-separator
  974. ----
  975. .. _class_PhysicsServer2DExtension_method__finish:
  976. .. rst-class:: classref-method
  977. void **_finish** **(** **)** |virtual|
  978. .. container:: contribute
  979. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  980. .. rst-class:: classref-item-separator
  981. ----
  982. .. _class_PhysicsServer2DExtension_method__flush_queries:
  983. .. rst-class:: classref-method
  984. void **_flush_queries** **(** **)** |virtual|
  985. .. container:: contribute
  986. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  987. .. rst-class:: classref-item-separator
  988. ----
  989. .. _class_PhysicsServer2DExtension_method__free_rid:
  990. .. rst-class:: classref-method
  991. void **_free_rid** **(** :ref:`RID<class_RID>` rid **)** |virtual|
  992. .. container:: contribute
  993. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  994. .. rst-class:: classref-item-separator
  995. ----
  996. .. _class_PhysicsServer2DExtension_method__get_process_info:
  997. .. rst-class:: classref-method
  998. :ref:`int<class_int>` **_get_process_info** **(** :ref:`ProcessInfo<enum_PhysicsServer2D_ProcessInfo>` process_info **)** |virtual|
  999. .. container:: contribute
  1000. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1001. .. rst-class:: classref-item-separator
  1002. ----
  1003. .. _class_PhysicsServer2DExtension_method__init:
  1004. .. rst-class:: classref-method
  1005. void **_init** **(** **)** |virtual|
  1006. .. container:: contribute
  1007. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1008. .. rst-class:: classref-item-separator
  1009. ----
  1010. .. _class_PhysicsServer2DExtension_method__is_flushing_queries:
  1011. .. rst-class:: classref-method
  1012. :ref:`bool<class_bool>` **_is_flushing_queries** **(** **)** |virtual| |const|
  1013. .. container:: contribute
  1014. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1015. .. rst-class:: classref-item-separator
  1016. ----
  1017. .. _class_PhysicsServer2DExtension_method__joint_clear:
  1018. .. rst-class:: classref-method
  1019. void **_joint_clear** **(** :ref:`RID<class_RID>` joint **)** |virtual|
  1020. .. container:: contribute
  1021. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1022. .. rst-class:: classref-item-separator
  1023. ----
  1024. .. _class_PhysicsServer2DExtension_method__joint_create:
  1025. .. rst-class:: classref-method
  1026. :ref:`RID<class_RID>` **_joint_create** **(** **)** |virtual|
  1027. .. container:: contribute
  1028. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1029. .. rst-class:: classref-item-separator
  1030. ----
  1031. .. _class_PhysicsServer2DExtension_method__joint_disable_collisions_between_bodies:
  1032. .. rst-class:: classref-method
  1033. void **_joint_disable_collisions_between_bodies** **(** :ref:`RID<class_RID>` joint, :ref:`bool<class_bool>` disable **)** |virtual|
  1034. .. container:: contribute
  1035. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1036. .. rst-class:: classref-item-separator
  1037. ----
  1038. .. _class_PhysicsServer2DExtension_method__joint_get_param:
  1039. .. rst-class:: classref-method
  1040. :ref:`float<class_float>` **_joint_get_param** **(** :ref:`RID<class_RID>` joint, :ref:`JointParam<enum_PhysicsServer2D_JointParam>` param **)** |virtual| |const|
  1041. .. container:: contribute
  1042. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1043. .. rst-class:: classref-item-separator
  1044. ----
  1045. .. _class_PhysicsServer2DExtension_method__joint_get_type:
  1046. .. rst-class:: classref-method
  1047. :ref:`JointType<enum_PhysicsServer2D_JointType>` **_joint_get_type** **(** :ref:`RID<class_RID>` joint **)** |virtual| |const|
  1048. .. container:: contribute
  1049. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1050. .. rst-class:: classref-item-separator
  1051. ----
  1052. .. _class_PhysicsServer2DExtension_method__joint_is_disabled_collisions_between_bodies:
  1053. .. rst-class:: classref-method
  1054. :ref:`bool<class_bool>` **_joint_is_disabled_collisions_between_bodies** **(** :ref:`RID<class_RID>` joint **)** |virtual| |const|
  1055. .. container:: contribute
  1056. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1057. .. rst-class:: classref-item-separator
  1058. ----
  1059. .. _class_PhysicsServer2DExtension_method__joint_make_damped_spring:
  1060. .. rst-class:: classref-method
  1061. void **_joint_make_damped_spring** **(** :ref:`RID<class_RID>` joint, :ref:`Vector2<class_Vector2>` anchor_a, :ref:`Vector2<class_Vector2>` anchor_b, :ref:`RID<class_RID>` body_a, :ref:`RID<class_RID>` body_b **)** |virtual|
  1062. .. container:: contribute
  1063. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1064. .. rst-class:: classref-item-separator
  1065. ----
  1066. .. _class_PhysicsServer2DExtension_method__joint_make_groove:
  1067. .. rst-class:: classref-method
  1068. void **_joint_make_groove** **(** :ref:`RID<class_RID>` joint, :ref:`Vector2<class_Vector2>` a_groove1, :ref:`Vector2<class_Vector2>` a_groove2, :ref:`Vector2<class_Vector2>` b_anchor, :ref:`RID<class_RID>` body_a, :ref:`RID<class_RID>` body_b **)** |virtual|
  1069. .. container:: contribute
  1070. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1071. .. rst-class:: classref-item-separator
  1072. ----
  1073. .. _class_PhysicsServer2DExtension_method__joint_make_pin:
  1074. .. rst-class:: classref-method
  1075. void **_joint_make_pin** **(** :ref:`RID<class_RID>` joint, :ref:`Vector2<class_Vector2>` anchor, :ref:`RID<class_RID>` body_a, :ref:`RID<class_RID>` body_b **)** |virtual|
  1076. .. container:: contribute
  1077. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1078. .. rst-class:: classref-item-separator
  1079. ----
  1080. .. _class_PhysicsServer2DExtension_method__joint_set_param:
  1081. .. rst-class:: classref-method
  1082. void **_joint_set_param** **(** :ref:`RID<class_RID>` joint, :ref:`JointParam<enum_PhysicsServer2D_JointParam>` param, :ref:`float<class_float>` value **)** |virtual|
  1083. .. container:: contribute
  1084. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1085. .. rst-class:: classref-item-separator
  1086. ----
  1087. .. _class_PhysicsServer2DExtension_method__pin_joint_get_param:
  1088. .. rst-class:: classref-method
  1089. :ref:`float<class_float>` **_pin_joint_get_param** **(** :ref:`RID<class_RID>` joint, :ref:`PinJointParam<enum_PhysicsServer2D_PinJointParam>` param **)** |virtual| |const|
  1090. .. container:: contribute
  1091. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1092. .. rst-class:: classref-item-separator
  1093. ----
  1094. .. _class_PhysicsServer2DExtension_method__pin_joint_set_param:
  1095. .. rst-class:: classref-method
  1096. void **_pin_joint_set_param** **(** :ref:`RID<class_RID>` joint, :ref:`PinJointParam<enum_PhysicsServer2D_PinJointParam>` param, :ref:`float<class_float>` value **)** |virtual|
  1097. .. container:: contribute
  1098. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1099. .. rst-class:: classref-item-separator
  1100. ----
  1101. .. _class_PhysicsServer2DExtension_method__rectangle_shape_create:
  1102. .. rst-class:: classref-method
  1103. :ref:`RID<class_RID>` **_rectangle_shape_create** **(** **)** |virtual|
  1104. .. container:: contribute
  1105. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1106. .. rst-class:: classref-item-separator
  1107. ----
  1108. .. _class_PhysicsServer2DExtension_method__segment_shape_create:
  1109. .. rst-class:: classref-method
  1110. :ref:`RID<class_RID>` **_segment_shape_create** **(** **)** |virtual|
  1111. .. container:: contribute
  1112. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1113. .. rst-class:: classref-item-separator
  1114. ----
  1115. .. _class_PhysicsServer2DExtension_method__separation_ray_shape_create:
  1116. .. rst-class:: classref-method
  1117. :ref:`RID<class_RID>` **_separation_ray_shape_create** **(** **)** |virtual|
  1118. .. container:: contribute
  1119. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1120. .. rst-class:: classref-item-separator
  1121. ----
  1122. .. _class_PhysicsServer2DExtension_method__set_active:
  1123. .. rst-class:: classref-method
  1124. void **_set_active** **(** :ref:`bool<class_bool>` active **)** |virtual|
  1125. .. container:: contribute
  1126. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1127. .. rst-class:: classref-item-separator
  1128. ----
  1129. .. _class_PhysicsServer2DExtension_method__shape_collide:
  1130. .. rst-class:: classref-method
  1131. :ref:`bool<class_bool>` **_shape_collide** **(** :ref:`RID<class_RID>` shape_A, :ref:`Transform2D<class_Transform2D>` xform_A, :ref:`Vector2<class_Vector2>` motion_A, :ref:`RID<class_RID>` shape_B, :ref:`Transform2D<class_Transform2D>` xform_B, :ref:`Vector2<class_Vector2>` motion_B, void* results, :ref:`int<class_int>` result_max, int32_t* result_count **)** |virtual|
  1132. .. container:: contribute
  1133. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1134. .. rst-class:: classref-item-separator
  1135. ----
  1136. .. _class_PhysicsServer2DExtension_method__shape_get_custom_solver_bias:
  1137. .. rst-class:: classref-method
  1138. :ref:`float<class_float>` **_shape_get_custom_solver_bias** **(** :ref:`RID<class_RID>` shape **)** |virtual| |const|
  1139. .. container:: contribute
  1140. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1141. .. rst-class:: classref-item-separator
  1142. ----
  1143. .. _class_PhysicsServer2DExtension_method__shape_get_data:
  1144. .. rst-class:: classref-method
  1145. :ref:`Variant<class_Variant>` **_shape_get_data** **(** :ref:`RID<class_RID>` shape **)** |virtual| |const|
  1146. .. container:: contribute
  1147. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1148. .. rst-class:: classref-item-separator
  1149. ----
  1150. .. _class_PhysicsServer2DExtension_method__shape_get_type:
  1151. .. rst-class:: classref-method
  1152. :ref:`ShapeType<enum_PhysicsServer2D_ShapeType>` **_shape_get_type** **(** :ref:`RID<class_RID>` shape **)** |virtual| |const|
  1153. .. container:: contribute
  1154. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1155. .. rst-class:: classref-item-separator
  1156. ----
  1157. .. _class_PhysicsServer2DExtension_method__shape_set_custom_solver_bias:
  1158. .. rst-class:: classref-method
  1159. void **_shape_set_custom_solver_bias** **(** :ref:`RID<class_RID>` shape, :ref:`float<class_float>` bias **)** |virtual|
  1160. .. container:: contribute
  1161. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1162. .. rst-class:: classref-item-separator
  1163. ----
  1164. .. _class_PhysicsServer2DExtension_method__shape_set_data:
  1165. .. rst-class:: classref-method
  1166. void **_shape_set_data** **(** :ref:`RID<class_RID>` shape, :ref:`Variant<class_Variant>` data **)** |virtual|
  1167. .. container:: contribute
  1168. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1169. .. rst-class:: classref-item-separator
  1170. ----
  1171. .. _class_PhysicsServer2DExtension_method__space_create:
  1172. .. rst-class:: classref-method
  1173. :ref:`RID<class_RID>` **_space_create** **(** **)** |virtual|
  1174. .. container:: contribute
  1175. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1176. .. rst-class:: classref-item-separator
  1177. ----
  1178. .. _class_PhysicsServer2DExtension_method__space_get_contact_count:
  1179. .. rst-class:: classref-method
  1180. :ref:`int<class_int>` **_space_get_contact_count** **(** :ref:`RID<class_RID>` space **)** |virtual| |const|
  1181. .. container:: contribute
  1182. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1183. .. rst-class:: classref-item-separator
  1184. ----
  1185. .. _class_PhysicsServer2DExtension_method__space_get_contacts:
  1186. .. rst-class:: classref-method
  1187. :ref:`PackedVector2Array<class_PackedVector2Array>` **_space_get_contacts** **(** :ref:`RID<class_RID>` space **)** |virtual| |const|
  1188. .. container:: contribute
  1189. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1190. .. rst-class:: classref-item-separator
  1191. ----
  1192. .. _class_PhysicsServer2DExtension_method__space_get_direct_state:
  1193. .. rst-class:: classref-method
  1194. :ref:`PhysicsDirectSpaceState2D<class_PhysicsDirectSpaceState2D>` **_space_get_direct_state** **(** :ref:`RID<class_RID>` space **)** |virtual|
  1195. .. container:: contribute
  1196. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1197. .. rst-class:: classref-item-separator
  1198. ----
  1199. .. _class_PhysicsServer2DExtension_method__space_get_param:
  1200. .. rst-class:: classref-method
  1201. :ref:`float<class_float>` **_space_get_param** **(** :ref:`RID<class_RID>` space, :ref:`SpaceParameter<enum_PhysicsServer2D_SpaceParameter>` param **)** |virtual| |const|
  1202. .. container:: contribute
  1203. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1204. .. rst-class:: classref-item-separator
  1205. ----
  1206. .. _class_PhysicsServer2DExtension_method__space_is_active:
  1207. .. rst-class:: classref-method
  1208. :ref:`bool<class_bool>` **_space_is_active** **(** :ref:`RID<class_RID>` space **)** |virtual| |const|
  1209. .. container:: contribute
  1210. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1211. .. rst-class:: classref-item-separator
  1212. ----
  1213. .. _class_PhysicsServer2DExtension_method__space_set_active:
  1214. .. rst-class:: classref-method
  1215. void **_space_set_active** **(** :ref:`RID<class_RID>` space, :ref:`bool<class_bool>` active **)** |virtual|
  1216. .. container:: contribute
  1217. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1218. .. rst-class:: classref-item-separator
  1219. ----
  1220. .. _class_PhysicsServer2DExtension_method__space_set_debug_contacts:
  1221. .. rst-class:: classref-method
  1222. void **_space_set_debug_contacts** **(** :ref:`RID<class_RID>` space, :ref:`int<class_int>` max_contacts **)** |virtual|
  1223. .. container:: contribute
  1224. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1225. .. rst-class:: classref-item-separator
  1226. ----
  1227. .. _class_PhysicsServer2DExtension_method__space_set_param:
  1228. .. rst-class:: classref-method
  1229. void **_space_set_param** **(** :ref:`RID<class_RID>` space, :ref:`SpaceParameter<enum_PhysicsServer2D_SpaceParameter>` param, :ref:`float<class_float>` value **)** |virtual|
  1230. .. container:: contribute
  1231. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1232. .. rst-class:: classref-item-separator
  1233. ----
  1234. .. _class_PhysicsServer2DExtension_method__step:
  1235. .. rst-class:: classref-method
  1236. void **_step** **(** :ref:`float<class_float>` step **)** |virtual|
  1237. .. container:: contribute
  1238. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1239. .. rst-class:: classref-item-separator
  1240. ----
  1241. .. _class_PhysicsServer2DExtension_method__sync:
  1242. .. rst-class:: classref-method
  1243. void **_sync** **(** **)** |virtual|
  1244. .. container:: contribute
  1245. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1246. .. rst-class:: classref-item-separator
  1247. ----
  1248. .. _class_PhysicsServer2DExtension_method__world_boundary_shape_create:
  1249. .. rst-class:: classref-method
  1250. :ref:`RID<class_RID>` **_world_boundary_shape_create** **(** **)** |virtual|
  1251. .. container:: contribute
  1252. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1253. .. rst-class:: classref-item-separator
  1254. ----
  1255. .. _class_PhysicsServer2DExtension_method_body_test_motion_is_excluding_body:
  1256. .. rst-class:: classref-method
  1257. :ref:`bool<class_bool>` **body_test_motion_is_excluding_body** **(** :ref:`RID<class_RID>` body **)** |const|
  1258. .. container:: contribute
  1259. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1260. .. rst-class:: classref-item-separator
  1261. ----
  1262. .. _class_PhysicsServer2DExtension_method_body_test_motion_is_excluding_object:
  1263. .. rst-class:: classref-method
  1264. :ref:`bool<class_bool>` **body_test_motion_is_excluding_object** **(** :ref:`int<class_int>` object **)** |const|
  1265. .. container:: contribute
  1266. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  1267. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  1268. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  1269. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  1270. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  1271. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  1272. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
  1273. .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`