1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050 |
- :github_url: hide
- .. DO NOT EDIT THIS FILE!!!
- .. Generated automatically from Godot engine sources.
- .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
- .. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/PhysicsServer2DExtension.xml.
- .. _class_PhysicsServer2DExtension:
- PhysicsServer2DExtension
- ========================
- **Inherits:** :ref:`PhysicsServer2D<class_PhysicsServer2D>` **<** :ref:`Object<class_Object>`
- Provides virtual methods that can be overridden to create custom :ref:`PhysicsServer2D<class_PhysicsServer2D>` implementations.
- .. rst-class:: classref-introduction-group
- Description
- -----------
- 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.
- Intended for use with GDExtension to create custom implementations of :ref:`PhysicsServer2D<class_PhysicsServer2D>`.
- .. rst-class:: classref-reftable-group
- Methods
- -------
- .. table::
- :widths: auto
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_area_add_shape<class_PhysicsServer2DExtension_private_method__area_add_shape>`\ (\ area\: :ref:`RID<class_RID>`, shape\: :ref:`RID<class_RID>`, transform\: :ref:`Transform2D<class_Transform2D>`, disabled\: :ref:`bool<class_bool>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_area_attach_canvas_instance_id<class_PhysicsServer2DExtension_private_method__area_attach_canvas_instance_id>`\ (\ area\: :ref:`RID<class_RID>`, id\: :ref:`int<class_int>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_area_attach_object_instance_id<class_PhysicsServer2DExtension_private_method__area_attach_object_instance_id>`\ (\ area\: :ref:`RID<class_RID>`, id\: :ref:`int<class_int>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_area_clear_shapes<class_PhysicsServer2DExtension_private_method__area_clear_shapes>`\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`RID<class_RID>` | :ref:`_area_create<class_PhysicsServer2DExtension_private_method__area_create>`\ (\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`_area_get_canvas_instance_id<class_PhysicsServer2DExtension_private_method__area_get_canvas_instance_id>`\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`_area_get_collision_layer<class_PhysicsServer2DExtension_private_method__area_get_collision_layer>`\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`_area_get_collision_mask<class_PhysicsServer2DExtension_private_method__area_get_collision_mask>`\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`_area_get_object_instance_id<class_PhysicsServer2DExtension_private_method__area_get_object_instance_id>`\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Variant<class_Variant>` | :ref:`_area_get_param<class_PhysicsServer2DExtension_private_method__area_get_param>`\ (\ area\: :ref:`RID<class_RID>`, param\: :ref:`AreaParameter<enum_PhysicsServer2D_AreaParameter>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`RID<class_RID>` | :ref:`_area_get_shape<class_PhysicsServer2DExtension_private_method__area_get_shape>`\ (\ area\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`_area_get_shape_count<class_PhysicsServer2DExtension_private_method__area_get_shape_count>`\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Transform2D<class_Transform2D>` | :ref:`_area_get_shape_transform<class_PhysicsServer2DExtension_private_method__area_get_shape_transform>`\ (\ area\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`RID<class_RID>` | :ref:`_area_get_space<class_PhysicsServer2DExtension_private_method__area_get_space>`\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Transform2D<class_Transform2D>` | :ref:`_area_get_transform<class_PhysicsServer2DExtension_private_method__area_get_transform>`\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_area_remove_shape<class_PhysicsServer2DExtension_private_method__area_remove_shape>`\ (\ area\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_area_set_area_monitor_callback<class_PhysicsServer2DExtension_private_method__area_set_area_monitor_callback>`\ (\ area\: :ref:`RID<class_RID>`, callback\: :ref:`Callable<class_Callable>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_area_set_collision_layer<class_PhysicsServer2DExtension_private_method__area_set_collision_layer>`\ (\ area\: :ref:`RID<class_RID>`, layer\: :ref:`int<class_int>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_area_set_collision_mask<class_PhysicsServer2DExtension_private_method__area_set_collision_mask>`\ (\ area\: :ref:`RID<class_RID>`, mask\: :ref:`int<class_int>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_area_set_monitor_callback<class_PhysicsServer2DExtension_private_method__area_set_monitor_callback>`\ (\ area\: :ref:`RID<class_RID>`, callback\: :ref:`Callable<class_Callable>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_area_set_monitorable<class_PhysicsServer2DExtension_private_method__area_set_monitorable>`\ (\ area\: :ref:`RID<class_RID>`, monitorable\: :ref:`bool<class_bool>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_area_set_param<class_PhysicsServer2DExtension_private_method__area_set_param>`\ (\ area\: :ref:`RID<class_RID>`, param\: :ref:`AreaParameter<enum_PhysicsServer2D_AreaParameter>`, value\: :ref:`Variant<class_Variant>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_area_set_pickable<class_PhysicsServer2DExtension_private_method__area_set_pickable>`\ (\ area\: :ref:`RID<class_RID>`, pickable\: :ref:`bool<class_bool>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_area_set_shape<class_PhysicsServer2DExtension_private_method__area_set_shape>`\ (\ area\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`, shape\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_area_set_shape_disabled<class_PhysicsServer2DExtension_private_method__area_set_shape_disabled>`\ (\ area\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`, disabled\: :ref:`bool<class_bool>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_area_set_shape_transform<class_PhysicsServer2DExtension_private_method__area_set_shape_transform>`\ (\ area\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`, transform\: :ref:`Transform2D<class_Transform2D>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_area_set_space<class_PhysicsServer2DExtension_private_method__area_set_space>`\ (\ area\: :ref:`RID<class_RID>`, space\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_area_set_transform<class_PhysicsServer2DExtension_private_method__area_set_transform>`\ (\ area\: :ref:`RID<class_RID>`, transform\: :ref:`Transform2D<class_Transform2D>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_add_collision_exception<class_PhysicsServer2DExtension_private_method__body_add_collision_exception>`\ (\ body\: :ref:`RID<class_RID>`, excepted_body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_add_constant_central_force<class_PhysicsServer2DExtension_private_method__body_add_constant_central_force>`\ (\ body\: :ref:`RID<class_RID>`, force\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_add_constant_force<class_PhysicsServer2DExtension_private_method__body_add_constant_force>`\ (\ body\: :ref:`RID<class_RID>`, force\: :ref:`Vector2<class_Vector2>`, position\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_add_constant_torque<class_PhysicsServer2DExtension_private_method__body_add_constant_torque>`\ (\ body\: :ref:`RID<class_RID>`, torque\: :ref:`float<class_float>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_add_shape<class_PhysicsServer2DExtension_private_method__body_add_shape>`\ (\ body\: :ref:`RID<class_RID>`, shape\: :ref:`RID<class_RID>`, transform\: :ref:`Transform2D<class_Transform2D>`, disabled\: :ref:`bool<class_bool>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_apply_central_force<class_PhysicsServer2DExtension_private_method__body_apply_central_force>`\ (\ body\: :ref:`RID<class_RID>`, force\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_apply_central_impulse<class_PhysicsServer2DExtension_private_method__body_apply_central_impulse>`\ (\ body\: :ref:`RID<class_RID>`, impulse\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_apply_force<class_PhysicsServer2DExtension_private_method__body_apply_force>`\ (\ body\: :ref:`RID<class_RID>`, force\: :ref:`Vector2<class_Vector2>`, position\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_apply_impulse<class_PhysicsServer2DExtension_private_method__body_apply_impulse>`\ (\ body\: :ref:`RID<class_RID>`, impulse\: :ref:`Vector2<class_Vector2>`, position\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_apply_torque<class_PhysicsServer2DExtension_private_method__body_apply_torque>`\ (\ body\: :ref:`RID<class_RID>`, torque\: :ref:`float<class_float>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_apply_torque_impulse<class_PhysicsServer2DExtension_private_method__body_apply_torque_impulse>`\ (\ body\: :ref:`RID<class_RID>`, impulse\: :ref:`float<class_float>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_attach_canvas_instance_id<class_PhysicsServer2DExtension_private_method__body_attach_canvas_instance_id>`\ (\ body\: :ref:`RID<class_RID>`, id\: :ref:`int<class_int>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_attach_object_instance_id<class_PhysicsServer2DExtension_private_method__body_attach_object_instance_id>`\ (\ body\: :ref:`RID<class_RID>`, id\: :ref:`int<class_int>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_clear_shapes<class_PhysicsServer2DExtension_private_method__body_clear_shapes>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`_body_collide_shape<class_PhysicsServer2DExtension_private_method__body_collide_shape>`\ (\ body\: :ref:`RID<class_RID>`, body_shape\: :ref:`int<class_int>`, shape\: :ref:`RID<class_RID>`, shape_xform\: :ref:`Transform2D<class_Transform2D>`, motion\: :ref:`Vector2<class_Vector2>`, results\: ``void*``, result_max\: :ref:`int<class_int>`, result_count\: ``int32_t*``\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`RID<class_RID>` | :ref:`_body_create<class_PhysicsServer2DExtension_private_method__body_create>`\ (\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`_body_get_canvas_instance_id<class_PhysicsServer2DExtension_private_method__body_get_canvas_instance_id>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Array<class_Array>`\[:ref:`RID<class_RID>`\] | :ref:`_body_get_collision_exceptions<class_PhysicsServer2DExtension_private_method__body_get_collision_exceptions>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`_body_get_collision_layer<class_PhysicsServer2DExtension_private_method__body_get_collision_layer>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`_body_get_collision_mask<class_PhysicsServer2DExtension_private_method__body_get_collision_mask>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`float<class_float>` | :ref:`_body_get_collision_priority<class_PhysicsServer2DExtension_private_method__body_get_collision_priority>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Vector2<class_Vector2>` | :ref:`_body_get_constant_force<class_PhysicsServer2DExtension_private_method__body_get_constant_force>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`float<class_float>` | :ref:`_body_get_constant_torque<class_PhysicsServer2DExtension_private_method__body_get_constant_torque>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`float<class_float>` | :ref:`_body_get_contacts_reported_depth_threshold<class_PhysicsServer2DExtension_private_method__body_get_contacts_reported_depth_threshold>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`CCDMode<enum_PhysicsServer2D_CCDMode>` | :ref:`_body_get_continuous_collision_detection_mode<class_PhysicsServer2DExtension_private_method__body_get_continuous_collision_detection_mode>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`PhysicsDirectBodyState2D<class_PhysicsDirectBodyState2D>` | :ref:`_body_get_direct_state<class_PhysicsServer2DExtension_private_method__body_get_direct_state>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`_body_get_max_contacts_reported<class_PhysicsServer2DExtension_private_method__body_get_max_contacts_reported>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`BodyMode<enum_PhysicsServer2D_BodyMode>` | :ref:`_body_get_mode<class_PhysicsServer2DExtension_private_method__body_get_mode>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`_body_get_object_instance_id<class_PhysicsServer2DExtension_private_method__body_get_object_instance_id>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Variant<class_Variant>` | :ref:`_body_get_param<class_PhysicsServer2DExtension_private_method__body_get_param>`\ (\ body\: :ref:`RID<class_RID>`, param\: :ref:`BodyParameter<enum_PhysicsServer2D_BodyParameter>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`RID<class_RID>` | :ref:`_body_get_shape<class_PhysicsServer2DExtension_private_method__body_get_shape>`\ (\ body\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`_body_get_shape_count<class_PhysicsServer2DExtension_private_method__body_get_shape_count>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Transform2D<class_Transform2D>` | :ref:`_body_get_shape_transform<class_PhysicsServer2DExtension_private_method__body_get_shape_transform>`\ (\ body\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`RID<class_RID>` | :ref:`_body_get_space<class_PhysicsServer2DExtension_private_method__body_get_space>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Variant<class_Variant>` | :ref:`_body_get_state<class_PhysicsServer2DExtension_private_method__body_get_state>`\ (\ body\: :ref:`RID<class_RID>`, state\: :ref:`BodyState<enum_PhysicsServer2D_BodyState>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`_body_is_omitting_force_integration<class_PhysicsServer2DExtension_private_method__body_is_omitting_force_integration>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_remove_collision_exception<class_PhysicsServer2DExtension_private_method__body_remove_collision_exception>`\ (\ body\: :ref:`RID<class_RID>`, excepted_body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_remove_shape<class_PhysicsServer2DExtension_private_method__body_remove_shape>`\ (\ body\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_reset_mass_properties<class_PhysicsServer2DExtension_private_method__body_reset_mass_properties>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_set_axis_velocity<class_PhysicsServer2DExtension_private_method__body_set_axis_velocity>`\ (\ body\: :ref:`RID<class_RID>`, axis_velocity\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_set_collision_layer<class_PhysicsServer2DExtension_private_method__body_set_collision_layer>`\ (\ body\: :ref:`RID<class_RID>`, layer\: :ref:`int<class_int>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_set_collision_mask<class_PhysicsServer2DExtension_private_method__body_set_collision_mask>`\ (\ body\: :ref:`RID<class_RID>`, mask\: :ref:`int<class_int>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_set_collision_priority<class_PhysicsServer2DExtension_private_method__body_set_collision_priority>`\ (\ body\: :ref:`RID<class_RID>`, priority\: :ref:`float<class_float>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_set_constant_force<class_PhysicsServer2DExtension_private_method__body_set_constant_force>`\ (\ body\: :ref:`RID<class_RID>`, force\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_set_constant_torque<class_PhysicsServer2DExtension_private_method__body_set_constant_torque>`\ (\ body\: :ref:`RID<class_RID>`, torque\: :ref:`float<class_float>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_set_contacts_reported_depth_threshold<class_PhysicsServer2DExtension_private_method__body_set_contacts_reported_depth_threshold>`\ (\ body\: :ref:`RID<class_RID>`, threshold\: :ref:`float<class_float>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_set_continuous_collision_detection_mode<class_PhysicsServer2DExtension_private_method__body_set_continuous_collision_detection_mode>`\ (\ body\: :ref:`RID<class_RID>`, mode\: :ref:`CCDMode<enum_PhysicsServer2D_CCDMode>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_set_force_integration_callback<class_PhysicsServer2DExtension_private_method__body_set_force_integration_callback>`\ (\ body\: :ref:`RID<class_RID>`, callable\: :ref:`Callable<class_Callable>`, userdata\: :ref:`Variant<class_Variant>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_set_max_contacts_reported<class_PhysicsServer2DExtension_private_method__body_set_max_contacts_reported>`\ (\ body\: :ref:`RID<class_RID>`, amount\: :ref:`int<class_int>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_set_mode<class_PhysicsServer2DExtension_private_method__body_set_mode>`\ (\ body\: :ref:`RID<class_RID>`, mode\: :ref:`BodyMode<enum_PhysicsServer2D_BodyMode>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_set_omit_force_integration<class_PhysicsServer2DExtension_private_method__body_set_omit_force_integration>`\ (\ body\: :ref:`RID<class_RID>`, enable\: :ref:`bool<class_bool>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_set_param<class_PhysicsServer2DExtension_private_method__body_set_param>`\ (\ body\: :ref:`RID<class_RID>`, param\: :ref:`BodyParameter<enum_PhysicsServer2D_BodyParameter>`, value\: :ref:`Variant<class_Variant>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_set_pickable<class_PhysicsServer2DExtension_private_method__body_set_pickable>`\ (\ body\: :ref:`RID<class_RID>`, pickable\: :ref:`bool<class_bool>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_set_shape<class_PhysicsServer2DExtension_private_method__body_set_shape>`\ (\ body\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`, shape\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_set_shape_as_one_way_collision<class_PhysicsServer2DExtension_private_method__body_set_shape_as_one_way_collision>`\ (\ body\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`, enable\: :ref:`bool<class_bool>`, margin\: :ref:`float<class_float>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_set_shape_disabled<class_PhysicsServer2DExtension_private_method__body_set_shape_disabled>`\ (\ body\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`, disabled\: :ref:`bool<class_bool>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_set_shape_transform<class_PhysicsServer2DExtension_private_method__body_set_shape_transform>`\ (\ body\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`, transform\: :ref:`Transform2D<class_Transform2D>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_set_space<class_PhysicsServer2DExtension_private_method__body_set_space>`\ (\ body\: :ref:`RID<class_RID>`, space\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_set_state<class_PhysicsServer2DExtension_private_method__body_set_state>`\ (\ body\: :ref:`RID<class_RID>`, state\: :ref:`BodyState<enum_PhysicsServer2D_BodyState>`, value\: :ref:`Variant<class_Variant>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_body_set_state_sync_callback<class_PhysicsServer2DExtension_private_method__body_set_state_sync_callback>`\ (\ body\: :ref:`RID<class_RID>`, callable\: :ref:`Callable<class_Callable>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`_body_test_motion<class_PhysicsServer2DExtension_private_method__body_test_motion>`\ (\ body\: :ref:`RID<class_RID>`, from\: :ref:`Transform2D<class_Transform2D>`, motion\: :ref:`Vector2<class_Vector2>`, margin\: :ref:`float<class_float>`, collide_separation_ray\: :ref:`bool<class_bool>`, recovery_as_collision\: :ref:`bool<class_bool>`, result\: ``PhysicsServer2DExtensionMotionResult*``\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`RID<class_RID>` | :ref:`_capsule_shape_create<class_PhysicsServer2DExtension_private_method__capsule_shape_create>`\ (\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`RID<class_RID>` | :ref:`_circle_shape_create<class_PhysicsServer2DExtension_private_method__circle_shape_create>`\ (\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`RID<class_RID>` | :ref:`_concave_polygon_shape_create<class_PhysicsServer2DExtension_private_method__concave_polygon_shape_create>`\ (\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`RID<class_RID>` | :ref:`_convex_polygon_shape_create<class_PhysicsServer2DExtension_private_method__convex_polygon_shape_create>`\ (\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`float<class_float>` | :ref:`_damped_spring_joint_get_param<class_PhysicsServer2DExtension_private_method__damped_spring_joint_get_param>`\ (\ joint\: :ref:`RID<class_RID>`, param\: :ref:`DampedSpringParam<enum_PhysicsServer2D_DampedSpringParam>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_damped_spring_joint_set_param<class_PhysicsServer2DExtension_private_method__damped_spring_joint_set_param>`\ (\ joint\: :ref:`RID<class_RID>`, param\: :ref:`DampedSpringParam<enum_PhysicsServer2D_DampedSpringParam>`, value\: :ref:`float<class_float>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_end_sync<class_PhysicsServer2DExtension_private_method__end_sync>`\ (\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_finish<class_PhysicsServer2DExtension_private_method__finish>`\ (\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_flush_queries<class_PhysicsServer2DExtension_private_method__flush_queries>`\ (\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_free_rid<class_PhysicsServer2DExtension_private_method__free_rid>`\ (\ rid\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`_get_process_info<class_PhysicsServer2DExtension_private_method__get_process_info>`\ (\ process_info\: :ref:`ProcessInfo<enum_PhysicsServer2D_ProcessInfo>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_init<class_PhysicsServer2DExtension_private_method__init>`\ (\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`_is_flushing_queries<class_PhysicsServer2DExtension_private_method__is_flushing_queries>`\ (\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_joint_clear<class_PhysicsServer2DExtension_private_method__joint_clear>`\ (\ joint\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`RID<class_RID>` | :ref:`_joint_create<class_PhysicsServer2DExtension_private_method__joint_create>`\ (\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_joint_disable_collisions_between_bodies<class_PhysicsServer2DExtension_private_method__joint_disable_collisions_between_bodies>`\ (\ joint\: :ref:`RID<class_RID>`, disable\: :ref:`bool<class_bool>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`float<class_float>` | :ref:`_joint_get_param<class_PhysicsServer2DExtension_private_method__joint_get_param>`\ (\ joint\: :ref:`RID<class_RID>`, param\: :ref:`JointParam<enum_PhysicsServer2D_JointParam>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`JointType<enum_PhysicsServer2D_JointType>` | :ref:`_joint_get_type<class_PhysicsServer2DExtension_private_method__joint_get_type>`\ (\ joint\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`_joint_is_disabled_collisions_between_bodies<class_PhysicsServer2DExtension_private_method__joint_is_disabled_collisions_between_bodies>`\ (\ joint\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_joint_make_damped_spring<class_PhysicsServer2DExtension_private_method__joint_make_damped_spring>`\ (\ joint\: :ref:`RID<class_RID>`, anchor_a\: :ref:`Vector2<class_Vector2>`, anchor_b\: :ref:`Vector2<class_Vector2>`, body_a\: :ref:`RID<class_RID>`, body_b\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_joint_make_groove<class_PhysicsServer2DExtension_private_method__joint_make_groove>`\ (\ joint\: :ref:`RID<class_RID>`, a_groove1\: :ref:`Vector2<class_Vector2>`, a_groove2\: :ref:`Vector2<class_Vector2>`, b_anchor\: :ref:`Vector2<class_Vector2>`, body_a\: :ref:`RID<class_RID>`, body_b\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_joint_make_pin<class_PhysicsServer2DExtension_private_method__joint_make_pin>`\ (\ joint\: :ref:`RID<class_RID>`, anchor\: :ref:`Vector2<class_Vector2>`, body_a\: :ref:`RID<class_RID>`, body_b\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_joint_set_param<class_PhysicsServer2DExtension_private_method__joint_set_param>`\ (\ joint\: :ref:`RID<class_RID>`, param\: :ref:`JointParam<enum_PhysicsServer2D_JointParam>`, value\: :ref:`float<class_float>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`_pin_joint_get_flag<class_PhysicsServer2DExtension_private_method__pin_joint_get_flag>`\ (\ joint\: :ref:`RID<class_RID>`, flag\: :ref:`PinJointFlag<enum_PhysicsServer2D_PinJointFlag>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`float<class_float>` | :ref:`_pin_joint_get_param<class_PhysicsServer2DExtension_private_method__pin_joint_get_param>`\ (\ joint\: :ref:`RID<class_RID>`, param\: :ref:`PinJointParam<enum_PhysicsServer2D_PinJointParam>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_pin_joint_set_flag<class_PhysicsServer2DExtension_private_method__pin_joint_set_flag>`\ (\ joint\: :ref:`RID<class_RID>`, flag\: :ref:`PinJointFlag<enum_PhysicsServer2D_PinJointFlag>`, enabled\: :ref:`bool<class_bool>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_pin_joint_set_param<class_PhysicsServer2DExtension_private_method__pin_joint_set_param>`\ (\ joint\: :ref:`RID<class_RID>`, param\: :ref:`PinJointParam<enum_PhysicsServer2D_PinJointParam>`, value\: :ref:`float<class_float>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`RID<class_RID>` | :ref:`_rectangle_shape_create<class_PhysicsServer2DExtension_private_method__rectangle_shape_create>`\ (\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`RID<class_RID>` | :ref:`_segment_shape_create<class_PhysicsServer2DExtension_private_method__segment_shape_create>`\ (\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`RID<class_RID>` | :ref:`_separation_ray_shape_create<class_PhysicsServer2DExtension_private_method__separation_ray_shape_create>`\ (\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_set_active<class_PhysicsServer2DExtension_private_method__set_active>`\ (\ active\: :ref:`bool<class_bool>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`_shape_collide<class_PhysicsServer2DExtension_private_method__shape_collide>`\ (\ shape_A\: :ref:`RID<class_RID>`, xform_A\: :ref:`Transform2D<class_Transform2D>`, motion_A\: :ref:`Vector2<class_Vector2>`, shape_B\: :ref:`RID<class_RID>`, xform_B\: :ref:`Transform2D<class_Transform2D>`, motion_B\: :ref:`Vector2<class_Vector2>`, results\: ``void*``, result_max\: :ref:`int<class_int>`, result_count\: ``int32_t*``\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`float<class_float>` | :ref:`_shape_get_custom_solver_bias<class_PhysicsServer2DExtension_private_method__shape_get_custom_solver_bias>`\ (\ shape\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Variant<class_Variant>` | :ref:`_shape_get_data<class_PhysicsServer2DExtension_private_method__shape_get_data>`\ (\ shape\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`ShapeType<enum_PhysicsServer2D_ShapeType>` | :ref:`_shape_get_type<class_PhysicsServer2DExtension_private_method__shape_get_type>`\ (\ shape\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_shape_set_custom_solver_bias<class_PhysicsServer2DExtension_private_method__shape_set_custom_solver_bias>`\ (\ shape\: :ref:`RID<class_RID>`, bias\: :ref:`float<class_float>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_shape_set_data<class_PhysicsServer2DExtension_private_method__shape_set_data>`\ (\ shape\: :ref:`RID<class_RID>`, data\: :ref:`Variant<class_Variant>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`RID<class_RID>` | :ref:`_space_create<class_PhysicsServer2DExtension_private_method__space_create>`\ (\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`_space_get_contact_count<class_PhysicsServer2DExtension_private_method__space_get_contact_count>`\ (\ space\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`PackedVector2Array<class_PackedVector2Array>` | :ref:`_space_get_contacts<class_PhysicsServer2DExtension_private_method__space_get_contacts>`\ (\ space\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`PhysicsDirectSpaceState2D<class_PhysicsDirectSpaceState2D>` | :ref:`_space_get_direct_state<class_PhysicsServer2DExtension_private_method__space_get_direct_state>`\ (\ space\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`float<class_float>` | :ref:`_space_get_param<class_PhysicsServer2DExtension_private_method__space_get_param>`\ (\ space\: :ref:`RID<class_RID>`, param\: :ref:`SpaceParameter<enum_PhysicsServer2D_SpaceParameter>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`_space_is_active<class_PhysicsServer2DExtension_private_method__space_is_active>`\ (\ space\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_space_set_active<class_PhysicsServer2DExtension_private_method__space_set_active>`\ (\ space\: :ref:`RID<class_RID>`, active\: :ref:`bool<class_bool>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_space_set_debug_contacts<class_PhysicsServer2DExtension_private_method__space_set_debug_contacts>`\ (\ space\: :ref:`RID<class_RID>`, max_contacts\: :ref:`int<class_int>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_space_set_param<class_PhysicsServer2DExtension_private_method__space_set_param>`\ (\ space\: :ref:`RID<class_RID>`, param\: :ref:`SpaceParameter<enum_PhysicsServer2D_SpaceParameter>`, value\: :ref:`float<class_float>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_step<class_PhysicsServer2DExtension_private_method__step>`\ (\ step\: :ref:`float<class_float>`\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`_sync<class_PhysicsServer2DExtension_private_method__sync>`\ (\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`RID<class_RID>` | :ref:`_world_boundary_shape_create<class_PhysicsServer2DExtension_private_method__world_boundary_shape_create>`\ (\ ) |virtual| |required| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`body_test_motion_is_excluding_body<class_PhysicsServer2DExtension_method_body_test_motion_is_excluding_body>`\ (\ body\: :ref:`RID<class_RID>`\ ) |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`body_test_motion_is_excluding_object<class_PhysicsServer2DExtension_method_body_test_motion_is_excluding_object>`\ (\ object\: :ref:`int<class_int>`\ ) |const| |
- +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- .. rst-class:: classref-section-separator
- ----
- .. rst-class:: classref-descriptions-group
- Method Descriptions
- -------------------
- .. _class_PhysicsServer2DExtension_private_method__area_add_shape:
- .. rst-class:: classref-method
- |void| **_area_add_shape**\ (\ area\: :ref:`RID<class_RID>`, shape\: :ref:`RID<class_RID>`, transform\: :ref:`Transform2D<class_Transform2D>`, disabled\: :ref:`bool<class_bool>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_add_shape>`
- Overridable version of :ref:`PhysicsServer2D.area_add_shape()<class_PhysicsServer2D_method_area_add_shape>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__area_attach_canvas_instance_id:
- .. rst-class:: classref-method
- |void| **_area_attach_canvas_instance_id**\ (\ area\: :ref:`RID<class_RID>`, id\: :ref:`int<class_int>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_attach_canvas_instance_id>`
- Overridable version of :ref:`PhysicsServer2D.area_attach_canvas_instance_id()<class_PhysicsServer2D_method_area_attach_canvas_instance_id>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__area_attach_object_instance_id:
- .. rst-class:: classref-method
- |void| **_area_attach_object_instance_id**\ (\ area\: :ref:`RID<class_RID>`, id\: :ref:`int<class_int>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_attach_object_instance_id>`
- Overridable version of :ref:`PhysicsServer2D.area_attach_object_instance_id()<class_PhysicsServer2D_method_area_attach_object_instance_id>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__area_clear_shapes:
- .. rst-class:: classref-method
- |void| **_area_clear_shapes**\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_clear_shapes>`
- Overridable version of :ref:`PhysicsServer2D.area_clear_shapes()<class_PhysicsServer2D_method_area_clear_shapes>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__area_create:
- .. rst-class:: classref-method
- :ref:`RID<class_RID>` **_area_create**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_create>`
- Overridable version of :ref:`PhysicsServer2D.area_create()<class_PhysicsServer2D_method_area_create>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__area_get_canvas_instance_id:
- .. rst-class:: classref-method
- :ref:`int<class_int>` **_area_get_canvas_instance_id**\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_get_canvas_instance_id>`
- Overridable version of :ref:`PhysicsServer2D.area_get_canvas_instance_id()<class_PhysicsServer2D_method_area_get_canvas_instance_id>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__area_get_collision_layer:
- .. rst-class:: classref-method
- :ref:`int<class_int>` **_area_get_collision_layer**\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_get_collision_layer>`
- Overridable version of :ref:`PhysicsServer2D.area_get_collision_layer()<class_PhysicsServer2D_method_area_get_collision_layer>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__area_get_collision_mask:
- .. rst-class:: classref-method
- :ref:`int<class_int>` **_area_get_collision_mask**\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_get_collision_mask>`
- Overridable version of :ref:`PhysicsServer2D.area_get_collision_mask()<class_PhysicsServer2D_method_area_get_collision_mask>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__area_get_object_instance_id:
- .. rst-class:: classref-method
- :ref:`int<class_int>` **_area_get_object_instance_id**\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_get_object_instance_id>`
- Overridable version of :ref:`PhysicsServer2D.area_get_object_instance_id()<class_PhysicsServer2D_method_area_get_object_instance_id>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__area_get_param:
- .. rst-class:: classref-method
- :ref:`Variant<class_Variant>` **_area_get_param**\ (\ area\: :ref:`RID<class_RID>`, param\: :ref:`AreaParameter<enum_PhysicsServer2D_AreaParameter>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_get_param>`
- Overridable version of :ref:`PhysicsServer2D.area_get_param()<class_PhysicsServer2D_method_area_get_param>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__area_get_shape:
- .. rst-class:: classref-method
- :ref:`RID<class_RID>` **_area_get_shape**\ (\ area\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_get_shape>`
- Overridable version of :ref:`PhysicsServer2D.area_get_shape()<class_PhysicsServer2D_method_area_get_shape>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__area_get_shape_count:
- .. rst-class:: classref-method
- :ref:`int<class_int>` **_area_get_shape_count**\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_get_shape_count>`
- Overridable version of :ref:`PhysicsServer2D.area_get_shape_count()<class_PhysicsServer2D_method_area_get_shape_count>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__area_get_shape_transform:
- .. rst-class:: classref-method
- :ref:`Transform2D<class_Transform2D>` **_area_get_shape_transform**\ (\ area\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_get_shape_transform>`
- Overridable version of :ref:`PhysicsServer2D.area_get_shape_transform()<class_PhysicsServer2D_method_area_get_shape_transform>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__area_get_space:
- .. rst-class:: classref-method
- :ref:`RID<class_RID>` **_area_get_space**\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_get_space>`
- Overridable version of :ref:`PhysicsServer2D.area_get_space()<class_PhysicsServer2D_method_area_get_space>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__area_get_transform:
- .. rst-class:: classref-method
- :ref:`Transform2D<class_Transform2D>` **_area_get_transform**\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_get_transform>`
- Overridable version of :ref:`PhysicsServer2D.area_get_transform()<class_PhysicsServer2D_method_area_get_transform>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__area_remove_shape:
- .. rst-class:: classref-method
- |void| **_area_remove_shape**\ (\ area\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_remove_shape>`
- Overridable version of :ref:`PhysicsServer2D.area_remove_shape()<class_PhysicsServer2D_method_area_remove_shape>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__area_set_area_monitor_callback:
- .. rst-class:: classref-method
- |void| **_area_set_area_monitor_callback**\ (\ area\: :ref:`RID<class_RID>`, callback\: :ref:`Callable<class_Callable>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_set_area_monitor_callback>`
- Overridable version of :ref:`PhysicsServer2D.area_set_area_monitor_callback()<class_PhysicsServer2D_method_area_set_area_monitor_callback>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__area_set_collision_layer:
- .. rst-class:: classref-method
- |void| **_area_set_collision_layer**\ (\ area\: :ref:`RID<class_RID>`, layer\: :ref:`int<class_int>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_set_collision_layer>`
- Overridable version of :ref:`PhysicsServer2D.area_set_collision_layer()<class_PhysicsServer2D_method_area_set_collision_layer>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__area_set_collision_mask:
- .. rst-class:: classref-method
- |void| **_area_set_collision_mask**\ (\ area\: :ref:`RID<class_RID>`, mask\: :ref:`int<class_int>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_set_collision_mask>`
- Overridable version of :ref:`PhysicsServer2D.area_set_collision_mask()<class_PhysicsServer2D_method_area_set_collision_mask>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__area_set_monitor_callback:
- .. rst-class:: classref-method
- |void| **_area_set_monitor_callback**\ (\ area\: :ref:`RID<class_RID>`, callback\: :ref:`Callable<class_Callable>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_set_monitor_callback>`
- Overridable version of :ref:`PhysicsServer2D.area_set_monitor_callback()<class_PhysicsServer2D_method_area_set_monitor_callback>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__area_set_monitorable:
- .. rst-class:: classref-method
- |void| **_area_set_monitorable**\ (\ area\: :ref:`RID<class_RID>`, monitorable\: :ref:`bool<class_bool>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_set_monitorable>`
- Overridable version of :ref:`PhysicsServer2D.area_set_monitorable()<class_PhysicsServer2D_method_area_set_monitorable>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__area_set_param:
- .. rst-class:: classref-method
- |void| **_area_set_param**\ (\ area\: :ref:`RID<class_RID>`, param\: :ref:`AreaParameter<enum_PhysicsServer2D_AreaParameter>`, value\: :ref:`Variant<class_Variant>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_set_param>`
- Overridable version of :ref:`PhysicsServer2D.area_set_param()<class_PhysicsServer2D_method_area_set_param>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__area_set_pickable:
- .. rst-class:: classref-method
- |void| **_area_set_pickable**\ (\ area\: :ref:`RID<class_RID>`, pickable\: :ref:`bool<class_bool>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_set_pickable>`
- If set to ``true``, allows the area with the given :ref:`RID<class_RID>` to detect mouse inputs when the mouse cursor is hovering on it.
- Overridable version of :ref:`PhysicsServer2D<class_PhysicsServer2D>`'s internal ``area_set_pickable`` method. Corresponds to :ref:`CollisionObject2D.input_pickable<class_CollisionObject2D_property_input_pickable>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__area_set_shape:
- .. rst-class:: classref-method
- |void| **_area_set_shape**\ (\ area\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`, shape\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_set_shape>`
- Overridable version of :ref:`PhysicsServer2D.area_set_shape()<class_PhysicsServer2D_method_area_set_shape>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__area_set_shape_disabled:
- .. rst-class:: classref-method
- |void| **_area_set_shape_disabled**\ (\ area\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`, disabled\: :ref:`bool<class_bool>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_set_shape_disabled>`
- Overridable version of :ref:`PhysicsServer2D.area_set_shape_disabled()<class_PhysicsServer2D_method_area_set_shape_disabled>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__area_set_shape_transform:
- .. rst-class:: classref-method
- |void| **_area_set_shape_transform**\ (\ area\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`, transform\: :ref:`Transform2D<class_Transform2D>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_set_shape_transform>`
- Overridable version of :ref:`PhysicsServer2D.area_set_shape_transform()<class_PhysicsServer2D_method_area_set_shape_transform>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__area_set_space:
- .. rst-class:: classref-method
- |void| **_area_set_space**\ (\ area\: :ref:`RID<class_RID>`, space\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_set_space>`
- Overridable version of :ref:`PhysicsServer2D.area_set_space()<class_PhysicsServer2D_method_area_set_space>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__area_set_transform:
- .. rst-class:: classref-method
- |void| **_area_set_transform**\ (\ area\: :ref:`RID<class_RID>`, transform\: :ref:`Transform2D<class_Transform2D>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_set_transform>`
- Overridable version of :ref:`PhysicsServer2D.area_set_transform()<class_PhysicsServer2D_method_area_set_transform>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_add_collision_exception:
- .. rst-class:: classref-method
- |void| **_body_add_collision_exception**\ (\ body\: :ref:`RID<class_RID>`, excepted_body\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_add_collision_exception>`
- Overridable version of :ref:`PhysicsServer2D.body_add_collision_exception()<class_PhysicsServer2D_method_body_add_collision_exception>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_add_constant_central_force:
- .. rst-class:: classref-method
- |void| **_body_add_constant_central_force**\ (\ body\: :ref:`RID<class_RID>`, force\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_add_constant_central_force>`
- Overridable version of :ref:`PhysicsServer2D.body_add_constant_central_force()<class_PhysicsServer2D_method_body_add_constant_central_force>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_add_constant_force:
- .. rst-class:: classref-method
- |void| **_body_add_constant_force**\ (\ body\: :ref:`RID<class_RID>`, force\: :ref:`Vector2<class_Vector2>`, position\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_add_constant_force>`
- Overridable version of :ref:`PhysicsServer2D.body_add_constant_force()<class_PhysicsServer2D_method_body_add_constant_force>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_add_constant_torque:
- .. rst-class:: classref-method
- |void| **_body_add_constant_torque**\ (\ body\: :ref:`RID<class_RID>`, torque\: :ref:`float<class_float>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_add_constant_torque>`
- Overridable version of :ref:`PhysicsServer2D.body_add_constant_torque()<class_PhysicsServer2D_method_body_add_constant_torque>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_add_shape:
- .. rst-class:: classref-method
- |void| **_body_add_shape**\ (\ body\: :ref:`RID<class_RID>`, shape\: :ref:`RID<class_RID>`, transform\: :ref:`Transform2D<class_Transform2D>`, disabled\: :ref:`bool<class_bool>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_add_shape>`
- Overridable version of :ref:`PhysicsServer2D.body_add_shape()<class_PhysicsServer2D_method_body_add_shape>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_apply_central_force:
- .. rst-class:: classref-method
- |void| **_body_apply_central_force**\ (\ body\: :ref:`RID<class_RID>`, force\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_apply_central_force>`
- Overridable version of :ref:`PhysicsServer2D.body_apply_central_force()<class_PhysicsServer2D_method_body_apply_central_force>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_apply_central_impulse:
- .. rst-class:: classref-method
- |void| **_body_apply_central_impulse**\ (\ body\: :ref:`RID<class_RID>`, impulse\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_apply_central_impulse>`
- Overridable version of :ref:`PhysicsServer2D.body_apply_central_impulse()<class_PhysicsServer2D_method_body_apply_central_impulse>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_apply_force:
- .. rst-class:: classref-method
- |void| **_body_apply_force**\ (\ body\: :ref:`RID<class_RID>`, force\: :ref:`Vector2<class_Vector2>`, position\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_apply_force>`
- Overridable version of :ref:`PhysicsServer2D.body_apply_force()<class_PhysicsServer2D_method_body_apply_force>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_apply_impulse:
- .. rst-class:: classref-method
- |void| **_body_apply_impulse**\ (\ body\: :ref:`RID<class_RID>`, impulse\: :ref:`Vector2<class_Vector2>`, position\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_apply_impulse>`
- Overridable version of :ref:`PhysicsServer2D.body_apply_impulse()<class_PhysicsServer2D_method_body_apply_impulse>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_apply_torque:
- .. rst-class:: classref-method
- |void| **_body_apply_torque**\ (\ body\: :ref:`RID<class_RID>`, torque\: :ref:`float<class_float>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_apply_torque>`
- Overridable version of :ref:`PhysicsServer2D.body_apply_torque()<class_PhysicsServer2D_method_body_apply_torque>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_apply_torque_impulse:
- .. rst-class:: classref-method
- |void| **_body_apply_torque_impulse**\ (\ body\: :ref:`RID<class_RID>`, impulse\: :ref:`float<class_float>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_apply_torque_impulse>`
- Overridable version of :ref:`PhysicsServer2D.body_apply_torque_impulse()<class_PhysicsServer2D_method_body_apply_torque_impulse>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_attach_canvas_instance_id:
- .. rst-class:: classref-method
- |void| **_body_attach_canvas_instance_id**\ (\ body\: :ref:`RID<class_RID>`, id\: :ref:`int<class_int>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_attach_canvas_instance_id>`
- Overridable version of :ref:`PhysicsServer2D.body_attach_canvas_instance_id()<class_PhysicsServer2D_method_body_attach_canvas_instance_id>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_attach_object_instance_id:
- .. rst-class:: classref-method
- |void| **_body_attach_object_instance_id**\ (\ body\: :ref:`RID<class_RID>`, id\: :ref:`int<class_int>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_attach_object_instance_id>`
- Overridable version of :ref:`PhysicsServer2D.body_attach_object_instance_id()<class_PhysicsServer2D_method_body_attach_object_instance_id>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_clear_shapes:
- .. rst-class:: classref-method
- |void| **_body_clear_shapes**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_clear_shapes>`
- Overridable version of :ref:`PhysicsServer2D.body_clear_shapes()<class_PhysicsServer2D_method_body_clear_shapes>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_collide_shape:
- .. rst-class:: classref-method
- :ref:`bool<class_bool>` **_body_collide_shape**\ (\ body\: :ref:`RID<class_RID>`, body_shape\: :ref:`int<class_int>`, shape\: :ref:`RID<class_RID>`, shape_xform\: :ref:`Transform2D<class_Transform2D>`, motion\: :ref:`Vector2<class_Vector2>`, results\: ``void*``, result_max\: :ref:`int<class_int>`, result_count\: ``int32_t*``\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_collide_shape>`
- Given a ``body``, a ``shape``, and their respective parameters, this method should return ``true`` if a collision between the two would occur, with additional details passed in ``results``.
- Overridable version of :ref:`PhysicsServer2D<class_PhysicsServer2D>`'s internal ``shape_collide`` method. Corresponds to :ref:`PhysicsDirectSpaceState2D.collide_shape()<class_PhysicsDirectSpaceState2D_method_collide_shape>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_create:
- .. rst-class:: classref-method
- :ref:`RID<class_RID>` **_body_create**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_create>`
- Overridable version of :ref:`PhysicsServer2D.body_create()<class_PhysicsServer2D_method_body_create>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_get_canvas_instance_id:
- .. rst-class:: classref-method
- :ref:`int<class_int>` **_body_get_canvas_instance_id**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_canvas_instance_id>`
- Overridable version of :ref:`PhysicsServer2D.body_get_canvas_instance_id()<class_PhysicsServer2D_method_body_get_canvas_instance_id>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_get_collision_exceptions:
- .. rst-class:: classref-method
- :ref:`Array<class_Array>`\[:ref:`RID<class_RID>`\] **_body_get_collision_exceptions**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_collision_exceptions>`
- Returns the :ref:`RID<class_RID>`\ s of all bodies added as collision exceptions for the given ``body``. See also :ref:`_body_add_collision_exception()<class_PhysicsServer2DExtension_private_method__body_add_collision_exception>` and :ref:`_body_remove_collision_exception()<class_PhysicsServer2DExtension_private_method__body_remove_collision_exception>`.
- Overridable version of :ref:`PhysicsServer2D<class_PhysicsServer2D>`'s internal ``body_get_collision_exceptions`` method. Corresponds to :ref:`PhysicsBody2D.get_collision_exceptions()<class_PhysicsBody2D_method_get_collision_exceptions>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_get_collision_layer:
- .. rst-class:: classref-method
- :ref:`int<class_int>` **_body_get_collision_layer**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_collision_layer>`
- Overridable version of :ref:`PhysicsServer2D.body_get_collision_layer()<class_PhysicsServer2D_method_body_get_collision_layer>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_get_collision_mask:
- .. rst-class:: classref-method
- :ref:`int<class_int>` **_body_get_collision_mask**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_collision_mask>`
- Overridable version of :ref:`PhysicsServer2D.body_get_collision_mask()<class_PhysicsServer2D_method_body_get_collision_mask>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_get_collision_priority:
- .. rst-class:: classref-method
- :ref:`float<class_float>` **_body_get_collision_priority**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_collision_priority>`
- Overridable version of :ref:`PhysicsServer2D.body_get_collision_priority()<class_PhysicsServer2D_method_body_get_collision_priority>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_get_constant_force:
- .. rst-class:: classref-method
- :ref:`Vector2<class_Vector2>` **_body_get_constant_force**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_constant_force>`
- Overridable version of :ref:`PhysicsServer2D.body_get_constant_force()<class_PhysicsServer2D_method_body_get_constant_force>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_get_constant_torque:
- .. rst-class:: classref-method
- :ref:`float<class_float>` **_body_get_constant_torque**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_constant_torque>`
- Overridable version of :ref:`PhysicsServer2D.body_get_constant_torque()<class_PhysicsServer2D_method_body_get_constant_torque>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_get_contacts_reported_depth_threshold:
- .. rst-class:: classref-method
- :ref:`float<class_float>` **_body_get_contacts_reported_depth_threshold**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_contacts_reported_depth_threshold>`
- Overridable version of :ref:`PhysicsServer2D<class_PhysicsServer2D>`'s internal ``body_get_contacts_reported_depth_threshold`` method.
- \ **Note:** This method is currently unused by Godot's default physics implementation.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_get_continuous_collision_detection_mode:
- .. rst-class:: classref-method
- :ref:`CCDMode<enum_PhysicsServer2D_CCDMode>` **_body_get_continuous_collision_detection_mode**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_continuous_collision_detection_mode>`
- Overridable version of :ref:`PhysicsServer2D.body_get_continuous_collision_detection_mode()<class_PhysicsServer2D_method_body_get_continuous_collision_detection_mode>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_get_direct_state:
- .. rst-class:: classref-method
- :ref:`PhysicsDirectBodyState2D<class_PhysicsDirectBodyState2D>` **_body_get_direct_state**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_direct_state>`
- Overridable version of :ref:`PhysicsServer2D.body_get_direct_state()<class_PhysicsServer2D_method_body_get_direct_state>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_get_max_contacts_reported:
- .. rst-class:: classref-method
- :ref:`int<class_int>` **_body_get_max_contacts_reported**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_max_contacts_reported>`
- Overridable version of :ref:`PhysicsServer2D.body_get_max_contacts_reported()<class_PhysicsServer2D_method_body_get_max_contacts_reported>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_get_mode:
- .. rst-class:: classref-method
- :ref:`BodyMode<enum_PhysicsServer2D_BodyMode>` **_body_get_mode**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_mode>`
- Overridable version of :ref:`PhysicsServer2D.body_get_mode()<class_PhysicsServer2D_method_body_get_mode>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_get_object_instance_id:
- .. rst-class:: classref-method
- :ref:`int<class_int>` **_body_get_object_instance_id**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_object_instance_id>`
- Overridable version of :ref:`PhysicsServer2D.body_get_object_instance_id()<class_PhysicsServer2D_method_body_get_object_instance_id>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_get_param:
- .. rst-class:: classref-method
- :ref:`Variant<class_Variant>` **_body_get_param**\ (\ body\: :ref:`RID<class_RID>`, param\: :ref:`BodyParameter<enum_PhysicsServer2D_BodyParameter>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_param>`
- Overridable version of :ref:`PhysicsServer2D.body_get_param()<class_PhysicsServer2D_method_body_get_param>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_get_shape:
- .. rst-class:: classref-method
- :ref:`RID<class_RID>` **_body_get_shape**\ (\ body\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_shape>`
- Overridable version of :ref:`PhysicsServer2D.body_get_shape()<class_PhysicsServer2D_method_body_get_shape>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_get_shape_count:
- .. rst-class:: classref-method
- :ref:`int<class_int>` **_body_get_shape_count**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_shape_count>`
- Overridable version of :ref:`PhysicsServer2D.body_get_shape_count()<class_PhysicsServer2D_method_body_get_shape_count>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_get_shape_transform:
- .. rst-class:: classref-method
- :ref:`Transform2D<class_Transform2D>` **_body_get_shape_transform**\ (\ body\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_shape_transform>`
- Overridable version of :ref:`PhysicsServer2D.body_get_shape_transform()<class_PhysicsServer2D_method_body_get_shape_transform>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_get_space:
- .. rst-class:: classref-method
- :ref:`RID<class_RID>` **_body_get_space**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_space>`
- Overridable version of :ref:`PhysicsServer2D.body_get_space()<class_PhysicsServer2D_method_body_get_space>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_get_state:
- .. rst-class:: classref-method
- :ref:`Variant<class_Variant>` **_body_get_state**\ (\ body\: :ref:`RID<class_RID>`, state\: :ref:`BodyState<enum_PhysicsServer2D_BodyState>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_state>`
- Overridable version of :ref:`PhysicsServer2D.body_get_state()<class_PhysicsServer2D_method_body_get_state>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_is_omitting_force_integration:
- .. rst-class:: classref-method
- :ref:`bool<class_bool>` **_body_is_omitting_force_integration**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_is_omitting_force_integration>`
- Overridable version of :ref:`PhysicsServer2D.body_is_omitting_force_integration()<class_PhysicsServer2D_method_body_is_omitting_force_integration>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_remove_collision_exception:
- .. rst-class:: classref-method
- |void| **_body_remove_collision_exception**\ (\ body\: :ref:`RID<class_RID>`, excepted_body\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_remove_collision_exception>`
- Overridable version of :ref:`PhysicsServer2D.body_remove_collision_exception()<class_PhysicsServer2D_method_body_remove_collision_exception>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_remove_shape:
- .. rst-class:: classref-method
- |void| **_body_remove_shape**\ (\ body\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_remove_shape>`
- Overridable version of :ref:`PhysicsServer2D.body_remove_shape()<class_PhysicsServer2D_method_body_remove_shape>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_reset_mass_properties:
- .. rst-class:: classref-method
- |void| **_body_reset_mass_properties**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_reset_mass_properties>`
- Overridable version of :ref:`PhysicsServer2D.body_reset_mass_properties()<class_PhysicsServer2D_method_body_reset_mass_properties>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_set_axis_velocity:
- .. rst-class:: classref-method
- |void| **_body_set_axis_velocity**\ (\ body\: :ref:`RID<class_RID>`, axis_velocity\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_axis_velocity>`
- Overridable version of :ref:`PhysicsServer2D.body_set_axis_velocity()<class_PhysicsServer2D_method_body_set_axis_velocity>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_set_collision_layer:
- .. rst-class:: classref-method
- |void| **_body_set_collision_layer**\ (\ body\: :ref:`RID<class_RID>`, layer\: :ref:`int<class_int>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_collision_layer>`
- Overridable version of :ref:`PhysicsServer2D.body_set_collision_layer()<class_PhysicsServer2D_method_body_set_collision_layer>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_set_collision_mask:
- .. rst-class:: classref-method
- |void| **_body_set_collision_mask**\ (\ body\: :ref:`RID<class_RID>`, mask\: :ref:`int<class_int>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_collision_mask>`
- Overridable version of :ref:`PhysicsServer2D.body_set_collision_mask()<class_PhysicsServer2D_method_body_set_collision_mask>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_set_collision_priority:
- .. rst-class:: classref-method
- |void| **_body_set_collision_priority**\ (\ body\: :ref:`RID<class_RID>`, priority\: :ref:`float<class_float>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_collision_priority>`
- Overridable version of :ref:`PhysicsServer2D.body_set_collision_priority()<class_PhysicsServer2D_method_body_set_collision_priority>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_set_constant_force:
- .. rst-class:: classref-method
- |void| **_body_set_constant_force**\ (\ body\: :ref:`RID<class_RID>`, force\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_constant_force>`
- Overridable version of :ref:`PhysicsServer2D.body_set_constant_force()<class_PhysicsServer2D_method_body_set_constant_force>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_set_constant_torque:
- .. rst-class:: classref-method
- |void| **_body_set_constant_torque**\ (\ body\: :ref:`RID<class_RID>`, torque\: :ref:`float<class_float>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_constant_torque>`
- Overridable version of :ref:`PhysicsServer2D.body_set_constant_torque()<class_PhysicsServer2D_method_body_set_constant_torque>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_set_contacts_reported_depth_threshold:
- .. rst-class:: classref-method
- |void| **_body_set_contacts_reported_depth_threshold**\ (\ body\: :ref:`RID<class_RID>`, threshold\: :ref:`float<class_float>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_contacts_reported_depth_threshold>`
- Overridable version of :ref:`PhysicsServer2D<class_PhysicsServer2D>`'s internal ``body_set_contacts_reported_depth_threshold`` method.
- \ **Note:** This method is currently unused by Godot's default physics implementation.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_set_continuous_collision_detection_mode:
- .. rst-class:: classref-method
- |void| **_body_set_continuous_collision_detection_mode**\ (\ body\: :ref:`RID<class_RID>`, mode\: :ref:`CCDMode<enum_PhysicsServer2D_CCDMode>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_continuous_collision_detection_mode>`
- Overridable version of :ref:`PhysicsServer2D.body_set_continuous_collision_detection_mode()<class_PhysicsServer2D_method_body_set_continuous_collision_detection_mode>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_set_force_integration_callback:
- .. rst-class:: classref-method
- |void| **_body_set_force_integration_callback**\ (\ body\: :ref:`RID<class_RID>`, callable\: :ref:`Callable<class_Callable>`, userdata\: :ref:`Variant<class_Variant>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_force_integration_callback>`
- Overridable version of :ref:`PhysicsServer2D.body_set_force_integration_callback()<class_PhysicsServer2D_method_body_set_force_integration_callback>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_set_max_contacts_reported:
- .. rst-class:: classref-method
- |void| **_body_set_max_contacts_reported**\ (\ body\: :ref:`RID<class_RID>`, amount\: :ref:`int<class_int>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_max_contacts_reported>`
- Overridable version of :ref:`PhysicsServer2D.body_set_max_contacts_reported()<class_PhysicsServer2D_method_body_set_max_contacts_reported>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_set_mode:
- .. rst-class:: classref-method
- |void| **_body_set_mode**\ (\ body\: :ref:`RID<class_RID>`, mode\: :ref:`BodyMode<enum_PhysicsServer2D_BodyMode>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_mode>`
- Overridable version of :ref:`PhysicsServer2D.body_set_mode()<class_PhysicsServer2D_method_body_set_mode>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_set_omit_force_integration:
- .. rst-class:: classref-method
- |void| **_body_set_omit_force_integration**\ (\ body\: :ref:`RID<class_RID>`, enable\: :ref:`bool<class_bool>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_omit_force_integration>`
- Overridable version of :ref:`PhysicsServer2D.body_set_omit_force_integration()<class_PhysicsServer2D_method_body_set_omit_force_integration>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_set_param:
- .. rst-class:: classref-method
- |void| **_body_set_param**\ (\ body\: :ref:`RID<class_RID>`, param\: :ref:`BodyParameter<enum_PhysicsServer2D_BodyParameter>`, value\: :ref:`Variant<class_Variant>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_param>`
- Overridable version of :ref:`PhysicsServer2D.body_set_param()<class_PhysicsServer2D_method_body_set_param>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_set_pickable:
- .. rst-class:: classref-method
- |void| **_body_set_pickable**\ (\ body\: :ref:`RID<class_RID>`, pickable\: :ref:`bool<class_bool>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_pickable>`
- If set to ``true``, allows the body with the given :ref:`RID<class_RID>` to detect mouse inputs when the mouse cursor is hovering on it.
- Overridable version of :ref:`PhysicsServer2D<class_PhysicsServer2D>`'s internal ``body_set_pickable`` method. Corresponds to :ref:`CollisionObject2D.input_pickable<class_CollisionObject2D_property_input_pickable>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_set_shape:
- .. rst-class:: classref-method
- |void| **_body_set_shape**\ (\ body\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`, shape\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_shape>`
- Overridable version of :ref:`PhysicsServer2D.body_set_shape()<class_PhysicsServer2D_method_body_set_shape>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_set_shape_as_one_way_collision:
- .. rst-class:: classref-method
- |void| **_body_set_shape_as_one_way_collision**\ (\ body\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`, enable\: :ref:`bool<class_bool>`, margin\: :ref:`float<class_float>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_shape_as_one_way_collision>`
- Overridable version of :ref:`PhysicsServer2D.body_set_shape_as_one_way_collision()<class_PhysicsServer2D_method_body_set_shape_as_one_way_collision>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_set_shape_disabled:
- .. rst-class:: classref-method
- |void| **_body_set_shape_disabled**\ (\ body\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`, disabled\: :ref:`bool<class_bool>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_shape_disabled>`
- Overridable version of :ref:`PhysicsServer2D.body_set_shape_disabled()<class_PhysicsServer2D_method_body_set_shape_disabled>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_set_shape_transform:
- .. rst-class:: classref-method
- |void| **_body_set_shape_transform**\ (\ body\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`, transform\: :ref:`Transform2D<class_Transform2D>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_shape_transform>`
- Overridable version of :ref:`PhysicsServer2D.body_set_shape_transform()<class_PhysicsServer2D_method_body_set_shape_transform>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_set_space:
- .. rst-class:: classref-method
- |void| **_body_set_space**\ (\ body\: :ref:`RID<class_RID>`, space\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_space>`
- Overridable version of :ref:`PhysicsServer2D.body_set_space()<class_PhysicsServer2D_method_body_set_space>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_set_state:
- .. rst-class:: classref-method
- |void| **_body_set_state**\ (\ body\: :ref:`RID<class_RID>`, state\: :ref:`BodyState<enum_PhysicsServer2D_BodyState>`, value\: :ref:`Variant<class_Variant>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_state>`
- Overridable version of :ref:`PhysicsServer2D.body_set_state()<class_PhysicsServer2D_method_body_set_state>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_set_state_sync_callback:
- .. rst-class:: classref-method
- |void| **_body_set_state_sync_callback**\ (\ body\: :ref:`RID<class_RID>`, callable\: :ref:`Callable<class_Callable>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_state_sync_callback>`
- Assigns the ``body`` to call the given ``callable`` during the synchronization phase of the loop, before :ref:`_step()<class_PhysicsServer2DExtension_private_method__step>` is called. See also :ref:`_sync()<class_PhysicsServer2DExtension_private_method__sync>`.
- Overridable version of :ref:`PhysicsServer2D.body_set_state_sync_callback()<class_PhysicsServer2D_method_body_set_state_sync_callback>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__body_test_motion:
- .. rst-class:: classref-method
- :ref:`bool<class_bool>` **_body_test_motion**\ (\ body\: :ref:`RID<class_RID>`, from\: :ref:`Transform2D<class_Transform2D>`, motion\: :ref:`Vector2<class_Vector2>`, margin\: :ref:`float<class_float>`, collide_separation_ray\: :ref:`bool<class_bool>`, recovery_as_collision\: :ref:`bool<class_bool>`, result\: ``PhysicsServer2DExtensionMotionResult*``\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_test_motion>`
- Overridable version of :ref:`PhysicsServer2D.body_test_motion()<class_PhysicsServer2D_method_body_test_motion>`. Unlike the exposed implementation, this method does not receive all of the arguments inside a :ref:`PhysicsTestMotionParameters2D<class_PhysicsTestMotionParameters2D>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__capsule_shape_create:
- .. rst-class:: classref-method
- :ref:`RID<class_RID>` **_capsule_shape_create**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__capsule_shape_create>`
- Overridable version of :ref:`PhysicsServer2D.capsule_shape_create()<class_PhysicsServer2D_method_capsule_shape_create>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__circle_shape_create:
- .. rst-class:: classref-method
- :ref:`RID<class_RID>` **_circle_shape_create**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__circle_shape_create>`
- Overridable version of :ref:`PhysicsServer2D.circle_shape_create()<class_PhysicsServer2D_method_circle_shape_create>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__concave_polygon_shape_create:
- .. rst-class:: classref-method
- :ref:`RID<class_RID>` **_concave_polygon_shape_create**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__concave_polygon_shape_create>`
- Overridable version of :ref:`PhysicsServer2D.concave_polygon_shape_create()<class_PhysicsServer2D_method_concave_polygon_shape_create>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__convex_polygon_shape_create:
- .. rst-class:: classref-method
- :ref:`RID<class_RID>` **_convex_polygon_shape_create**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__convex_polygon_shape_create>`
- Overridable version of :ref:`PhysicsServer2D.convex_polygon_shape_create()<class_PhysicsServer2D_method_convex_polygon_shape_create>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__damped_spring_joint_get_param:
- .. rst-class:: classref-method
- :ref:`float<class_float>` **_damped_spring_joint_get_param**\ (\ joint\: :ref:`RID<class_RID>`, param\: :ref:`DampedSpringParam<enum_PhysicsServer2D_DampedSpringParam>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__damped_spring_joint_get_param>`
- Overridable version of :ref:`PhysicsServer2D.damped_spring_joint_get_param()<class_PhysicsServer2D_method_damped_spring_joint_get_param>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__damped_spring_joint_set_param:
- .. rst-class:: classref-method
- |void| **_damped_spring_joint_set_param**\ (\ joint\: :ref:`RID<class_RID>`, param\: :ref:`DampedSpringParam<enum_PhysicsServer2D_DampedSpringParam>`, value\: :ref:`float<class_float>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__damped_spring_joint_set_param>`
- Overridable version of :ref:`PhysicsServer2D.damped_spring_joint_set_param()<class_PhysicsServer2D_method_damped_spring_joint_set_param>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__end_sync:
- .. rst-class:: classref-method
- |void| **_end_sync**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__end_sync>`
- Called to indicate that the physics server has stopped synchronizing. It is in the loop's iteration/physics phase, and can access physics objects even if running on a separate thread. See also :ref:`_sync()<class_PhysicsServer2DExtension_private_method__sync>`.
- Overridable version of :ref:`PhysicsServer2D<class_PhysicsServer2D>`'s internal ``end_sync`` method.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__finish:
- .. rst-class:: classref-method
- |void| **_finish**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__finish>`
- Called when the main loop finalizes to shut down the physics server. See also :ref:`MainLoop._finalize()<class_MainLoop_private_method__finalize>` and :ref:`_init()<class_PhysicsServer2DExtension_private_method__init>`.
- Overridable version of :ref:`PhysicsServer2D<class_PhysicsServer2D>`'s internal ``finish`` method.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__flush_queries:
- .. rst-class:: classref-method
- |void| **_flush_queries**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__flush_queries>`
- Called every physics step before :ref:`_step()<class_PhysicsServer2DExtension_private_method__step>` to process all remaining queries.
- Overridable version of :ref:`PhysicsServer2D<class_PhysicsServer2D>`'s internal ``flush_queries`` method.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__free_rid:
- .. rst-class:: classref-method
- |void| **_free_rid**\ (\ rid\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__free_rid>`
- Overridable version of :ref:`PhysicsServer2D.free_rid()<class_PhysicsServer2D_method_free_rid>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__get_process_info:
- .. rst-class:: classref-method
- :ref:`int<class_int>` **_get_process_info**\ (\ process_info\: :ref:`ProcessInfo<enum_PhysicsServer2D_ProcessInfo>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__get_process_info>`
- Overridable version of :ref:`PhysicsServer2D.get_process_info()<class_PhysicsServer2D_method_get_process_info>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__init:
- .. rst-class:: classref-method
- |void| **_init**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__init>`
- Called when the main loop is initialized and creates a new instance of this physics server. See also :ref:`MainLoop._initialize()<class_MainLoop_private_method__initialize>` and :ref:`_finish()<class_PhysicsServer2DExtension_private_method__finish>`.
- Overridable version of :ref:`PhysicsServer2D<class_PhysicsServer2D>`'s internal ``init`` method.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__is_flushing_queries:
- .. rst-class:: classref-method
- :ref:`bool<class_bool>` **_is_flushing_queries**\ (\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__is_flushing_queries>`
- Overridable method that should return ``true`` when the physics server is processing queries. See also :ref:`_flush_queries()<class_PhysicsServer2DExtension_private_method__flush_queries>`.
- Overridable version of :ref:`PhysicsServer2D<class_PhysicsServer2D>`'s internal ``is_flushing_queries`` method.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__joint_clear:
- .. rst-class:: classref-method
- |void| **_joint_clear**\ (\ joint\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__joint_clear>`
- Overridable version of :ref:`PhysicsServer2D.joint_clear()<class_PhysicsServer2D_method_joint_clear>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__joint_create:
- .. rst-class:: classref-method
- :ref:`RID<class_RID>` **_joint_create**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__joint_create>`
- Overridable version of :ref:`PhysicsServer2D.joint_create()<class_PhysicsServer2D_method_joint_create>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__joint_disable_collisions_between_bodies:
- .. rst-class:: classref-method
- |void| **_joint_disable_collisions_between_bodies**\ (\ joint\: :ref:`RID<class_RID>`, disable\: :ref:`bool<class_bool>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__joint_disable_collisions_between_bodies>`
- Overridable version of :ref:`PhysicsServer2D.joint_disable_collisions_between_bodies()<class_PhysicsServer2D_method_joint_disable_collisions_between_bodies>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__joint_get_param:
- .. rst-class:: classref-method
- :ref:`float<class_float>` **_joint_get_param**\ (\ joint\: :ref:`RID<class_RID>`, param\: :ref:`JointParam<enum_PhysicsServer2D_JointParam>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__joint_get_param>`
- Overridable version of :ref:`PhysicsServer2D.joint_get_param()<class_PhysicsServer2D_method_joint_get_param>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__joint_get_type:
- .. rst-class:: classref-method
- :ref:`JointType<enum_PhysicsServer2D_JointType>` **_joint_get_type**\ (\ joint\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__joint_get_type>`
- Overridable version of :ref:`PhysicsServer2D.joint_get_type()<class_PhysicsServer2D_method_joint_get_type>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__joint_is_disabled_collisions_between_bodies:
- .. rst-class:: classref-method
- :ref:`bool<class_bool>` **_joint_is_disabled_collisions_between_bodies**\ (\ joint\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__joint_is_disabled_collisions_between_bodies>`
- Overridable version of :ref:`PhysicsServer2D.joint_is_disabled_collisions_between_bodies()<class_PhysicsServer2D_method_joint_is_disabled_collisions_between_bodies>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__joint_make_damped_spring:
- .. rst-class:: classref-method
- |void| **_joint_make_damped_spring**\ (\ joint\: :ref:`RID<class_RID>`, anchor_a\: :ref:`Vector2<class_Vector2>`, anchor_b\: :ref:`Vector2<class_Vector2>`, body_a\: :ref:`RID<class_RID>`, body_b\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__joint_make_damped_spring>`
- Overridable version of :ref:`PhysicsServer2D.joint_make_damped_spring()<class_PhysicsServer2D_method_joint_make_damped_spring>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__joint_make_groove:
- .. rst-class:: classref-method
- |void| **_joint_make_groove**\ (\ joint\: :ref:`RID<class_RID>`, a_groove1\: :ref:`Vector2<class_Vector2>`, a_groove2\: :ref:`Vector2<class_Vector2>`, b_anchor\: :ref:`Vector2<class_Vector2>`, body_a\: :ref:`RID<class_RID>`, body_b\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__joint_make_groove>`
- Overridable version of :ref:`PhysicsServer2D.joint_make_groove()<class_PhysicsServer2D_method_joint_make_groove>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__joint_make_pin:
- .. rst-class:: classref-method
- |void| **_joint_make_pin**\ (\ joint\: :ref:`RID<class_RID>`, anchor\: :ref:`Vector2<class_Vector2>`, body_a\: :ref:`RID<class_RID>`, body_b\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__joint_make_pin>`
- Overridable version of :ref:`PhysicsServer2D.joint_make_pin()<class_PhysicsServer2D_method_joint_make_pin>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__joint_set_param:
- .. rst-class:: classref-method
- |void| **_joint_set_param**\ (\ joint\: :ref:`RID<class_RID>`, param\: :ref:`JointParam<enum_PhysicsServer2D_JointParam>`, value\: :ref:`float<class_float>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__joint_set_param>`
- Overridable version of :ref:`PhysicsServer2D.joint_set_param()<class_PhysicsServer2D_method_joint_set_param>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__pin_joint_get_flag:
- .. rst-class:: classref-method
- :ref:`bool<class_bool>` **_pin_joint_get_flag**\ (\ joint\: :ref:`RID<class_RID>`, flag\: :ref:`PinJointFlag<enum_PhysicsServer2D_PinJointFlag>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__pin_joint_get_flag>`
- Overridable version of :ref:`PhysicsServer2D.pin_joint_get_flag()<class_PhysicsServer2D_method_pin_joint_get_flag>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__pin_joint_get_param:
- .. rst-class:: classref-method
- :ref:`float<class_float>` **_pin_joint_get_param**\ (\ joint\: :ref:`RID<class_RID>`, param\: :ref:`PinJointParam<enum_PhysicsServer2D_PinJointParam>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__pin_joint_get_param>`
- Overridable version of :ref:`PhysicsServer2D.pin_joint_get_param()<class_PhysicsServer2D_method_pin_joint_get_param>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__pin_joint_set_flag:
- .. rst-class:: classref-method
- |void| **_pin_joint_set_flag**\ (\ joint\: :ref:`RID<class_RID>`, flag\: :ref:`PinJointFlag<enum_PhysicsServer2D_PinJointFlag>`, enabled\: :ref:`bool<class_bool>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__pin_joint_set_flag>`
- Overridable version of :ref:`PhysicsServer2D.pin_joint_set_flag()<class_PhysicsServer2D_method_pin_joint_set_flag>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__pin_joint_set_param:
- .. rst-class:: classref-method
- |void| **_pin_joint_set_param**\ (\ joint\: :ref:`RID<class_RID>`, param\: :ref:`PinJointParam<enum_PhysicsServer2D_PinJointParam>`, value\: :ref:`float<class_float>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__pin_joint_set_param>`
- Overridable version of :ref:`PhysicsServer2D.pin_joint_set_param()<class_PhysicsServer2D_method_pin_joint_set_param>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__rectangle_shape_create:
- .. rst-class:: classref-method
- :ref:`RID<class_RID>` **_rectangle_shape_create**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__rectangle_shape_create>`
- Overridable version of :ref:`PhysicsServer2D.rectangle_shape_create()<class_PhysicsServer2D_method_rectangle_shape_create>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__segment_shape_create:
- .. rst-class:: classref-method
- :ref:`RID<class_RID>` **_segment_shape_create**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__segment_shape_create>`
- Overridable version of :ref:`PhysicsServer2D.segment_shape_create()<class_PhysicsServer2D_method_segment_shape_create>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__separation_ray_shape_create:
- .. rst-class:: classref-method
- :ref:`RID<class_RID>` **_separation_ray_shape_create**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__separation_ray_shape_create>`
- Overridable version of :ref:`PhysicsServer2D.separation_ray_shape_create()<class_PhysicsServer2D_method_separation_ray_shape_create>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__set_active:
- .. rst-class:: classref-method
- |void| **_set_active**\ (\ active\: :ref:`bool<class_bool>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__set_active>`
- Overridable version of :ref:`PhysicsServer2D.set_active()<class_PhysicsServer2D_method_set_active>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__shape_collide:
- .. rst-class:: classref-method
- :ref:`bool<class_bool>` **_shape_collide**\ (\ shape_A\: :ref:`RID<class_RID>`, xform_A\: :ref:`Transform2D<class_Transform2D>`, motion_A\: :ref:`Vector2<class_Vector2>`, shape_B\: :ref:`RID<class_RID>`, xform_B\: :ref:`Transform2D<class_Transform2D>`, motion_B\: :ref:`Vector2<class_Vector2>`, results\: ``void*``, result_max\: :ref:`int<class_int>`, result_count\: ``int32_t*``\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__shape_collide>`
- Given two shapes and their parameters, should return ``true`` if a collision between the two would occur, with additional details passed in ``results``.
- Overridable version of :ref:`PhysicsServer2D<class_PhysicsServer2D>`'s internal ``shape_collide`` method. Corresponds to :ref:`PhysicsDirectSpaceState2D.collide_shape()<class_PhysicsDirectSpaceState2D_method_collide_shape>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__shape_get_custom_solver_bias:
- .. rst-class:: classref-method
- :ref:`float<class_float>` **_shape_get_custom_solver_bias**\ (\ shape\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__shape_get_custom_solver_bias>`
- Should return the custom solver bias of the given ``shape``, which defines how much bodies are forced to separate on contact when this shape is involved.
- Overridable version of :ref:`PhysicsServer2D<class_PhysicsServer2D>`'s internal ``shape_get_custom_solver_bias`` method. Corresponds to :ref:`Shape2D.custom_solver_bias<class_Shape2D_property_custom_solver_bias>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__shape_get_data:
- .. rst-class:: classref-method
- :ref:`Variant<class_Variant>` **_shape_get_data**\ (\ shape\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__shape_get_data>`
- Overridable version of :ref:`PhysicsServer2D.shape_get_data()<class_PhysicsServer2D_method_shape_get_data>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__shape_get_type:
- .. rst-class:: classref-method
- :ref:`ShapeType<enum_PhysicsServer2D_ShapeType>` **_shape_get_type**\ (\ shape\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__shape_get_type>`
- Overridable version of :ref:`PhysicsServer2D.shape_get_type()<class_PhysicsServer2D_method_shape_get_type>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__shape_set_custom_solver_bias:
- .. rst-class:: classref-method
- |void| **_shape_set_custom_solver_bias**\ (\ shape\: :ref:`RID<class_RID>`, bias\: :ref:`float<class_float>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__shape_set_custom_solver_bias>`
- Should set the custom solver bias for the given ``shape``. It defines how much bodies are forced to separate on contact.
- Overridable version of :ref:`PhysicsServer2D<class_PhysicsServer2D>`'s internal ``shape_get_custom_solver_bias`` method. Corresponds to :ref:`Shape2D.custom_solver_bias<class_Shape2D_property_custom_solver_bias>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__shape_set_data:
- .. rst-class:: classref-method
- |void| **_shape_set_data**\ (\ shape\: :ref:`RID<class_RID>`, data\: :ref:`Variant<class_Variant>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__shape_set_data>`
- Overridable version of :ref:`PhysicsServer2D.shape_set_data()<class_PhysicsServer2D_method_shape_set_data>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__space_create:
- .. rst-class:: classref-method
- :ref:`RID<class_RID>` **_space_create**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__space_create>`
- Overridable version of :ref:`PhysicsServer2D.space_create()<class_PhysicsServer2D_method_space_create>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__space_get_contact_count:
- .. rst-class:: classref-method
- :ref:`int<class_int>` **_space_get_contact_count**\ (\ space\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__space_get_contact_count>`
- Should return how many contacts have occurred during the last physics step in the given ``space``. See also :ref:`_space_get_contacts()<class_PhysicsServer2DExtension_private_method__space_get_contacts>` and :ref:`_space_set_debug_contacts()<class_PhysicsServer2DExtension_private_method__space_set_debug_contacts>`.
- Overridable version of :ref:`PhysicsServer2D<class_PhysicsServer2D>`'s internal ``space_get_contact_count`` method.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__space_get_contacts:
- .. rst-class:: classref-method
- :ref:`PackedVector2Array<class_PackedVector2Array>` **_space_get_contacts**\ (\ space\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__space_get_contacts>`
- Should return the positions of all contacts that have occurred during the last physics step in the given ``space``. See also :ref:`_space_get_contact_count()<class_PhysicsServer2DExtension_private_method__space_get_contact_count>` and :ref:`_space_set_debug_contacts()<class_PhysicsServer2DExtension_private_method__space_set_debug_contacts>`.
- Overridable version of :ref:`PhysicsServer2D<class_PhysicsServer2D>`'s internal ``space_get_contacts`` method.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__space_get_direct_state:
- .. rst-class:: classref-method
- :ref:`PhysicsDirectSpaceState2D<class_PhysicsDirectSpaceState2D>` **_space_get_direct_state**\ (\ space\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__space_get_direct_state>`
- Overridable version of :ref:`PhysicsServer2D.space_get_direct_state()<class_PhysicsServer2D_method_space_get_direct_state>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__space_get_param:
- .. rst-class:: classref-method
- :ref:`float<class_float>` **_space_get_param**\ (\ space\: :ref:`RID<class_RID>`, param\: :ref:`SpaceParameter<enum_PhysicsServer2D_SpaceParameter>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__space_get_param>`
- Overridable version of :ref:`PhysicsServer2D.space_get_param()<class_PhysicsServer2D_method_space_get_param>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__space_is_active:
- .. rst-class:: classref-method
- :ref:`bool<class_bool>` **_space_is_active**\ (\ space\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__space_is_active>`
- Overridable version of :ref:`PhysicsServer2D.space_is_active()<class_PhysicsServer2D_method_space_is_active>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__space_set_active:
- .. rst-class:: classref-method
- |void| **_space_set_active**\ (\ space\: :ref:`RID<class_RID>`, active\: :ref:`bool<class_bool>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__space_set_active>`
- Overridable version of :ref:`PhysicsServer2D.space_set_active()<class_PhysicsServer2D_method_space_set_active>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__space_set_debug_contacts:
- .. rst-class:: classref-method
- |void| **_space_set_debug_contacts**\ (\ space\: :ref:`RID<class_RID>`, max_contacts\: :ref:`int<class_int>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__space_set_debug_contacts>`
- Used internally to allow the given ``space`` to store contact points, up to ``max_contacts``. This is automatically set for the main :ref:`World2D<class_World2D>`'s space when :ref:`SceneTree.debug_collisions_hint<class_SceneTree_property_debug_collisions_hint>` is ``true``, or by checking "Visible Collision Shapes" in the editor. Only works in debug builds.
- Overridable version of :ref:`PhysicsServer2D<class_PhysicsServer2D>`'s internal ``space_set_debug_contacts`` method.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__space_set_param:
- .. rst-class:: classref-method
- |void| **_space_set_param**\ (\ space\: :ref:`RID<class_RID>`, param\: :ref:`SpaceParameter<enum_PhysicsServer2D_SpaceParameter>`, value\: :ref:`float<class_float>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__space_set_param>`
- Overridable version of :ref:`PhysicsServer2D.space_set_param()<class_PhysicsServer2D_method_space_set_param>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__step:
- .. rst-class:: classref-method
- |void| **_step**\ (\ step\: :ref:`float<class_float>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__step>`
- Called every physics step to process the physics simulation. ``step`` is the time elapsed since the last physics step, in seconds. It is usually the same as the value returned by :ref:`Node.get_physics_process_delta_time()<class_Node_method_get_physics_process_delta_time>`.
- Overridable version of :ref:`PhysicsServer2D<class_PhysicsServer2D>`'s internal ``step`` method.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__sync:
- .. rst-class:: classref-method
- |void| **_sync**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__sync>`
- Called to indicate that the physics server is synchronizing and cannot access physics states if running on a separate thread. See also :ref:`_end_sync()<class_PhysicsServer2DExtension_private_method__end_sync>`.
- Overridable version of :ref:`PhysicsServer2D<class_PhysicsServer2D>`'s internal ``sync`` method.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_private_method__world_boundary_shape_create:
- .. rst-class:: classref-method
- :ref:`RID<class_RID>` **_world_boundary_shape_create**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__world_boundary_shape_create>`
- Overridable version of :ref:`PhysicsServer2D.world_boundary_shape_create()<class_PhysicsServer2D_method_world_boundary_shape_create>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_method_body_test_motion_is_excluding_body:
- .. rst-class:: classref-method
- :ref:`bool<class_bool>` **body_test_motion_is_excluding_body**\ (\ body\: :ref:`RID<class_RID>`\ ) |const| :ref:`🔗<class_PhysicsServer2DExtension_method_body_test_motion_is_excluding_body>`
- Returns ``true`` if the body with the given :ref:`RID<class_RID>` is being excluded from :ref:`_body_test_motion()<class_PhysicsServer2DExtension_private_method__body_test_motion>`. See also :ref:`Object.get_instance_id()<class_Object_method_get_instance_id>`.
- .. rst-class:: classref-item-separator
- ----
- .. _class_PhysicsServer2DExtension_method_body_test_motion_is_excluding_object:
- .. rst-class:: classref-method
- :ref:`bool<class_bool>` **body_test_motion_is_excluding_object**\ (\ object\: :ref:`int<class_int>`\ ) |const| :ref:`🔗<class_PhysicsServer2DExtension_method_body_test_motion_is_excluding_object>`
- Returns ``true`` if the object with the given instance ID is being excluded from :ref:`_body_test_motion()<class_PhysicsServer2DExtension_private_method__body_test_motion>`. See also :ref:`Object.get_instance_id()<class_Object_method_get_instance_id>`.
- .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
- .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)`
- .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
- .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
- .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
- .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
- .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
- .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`
- .. |void| replace:: :abbr:`void (No return value.)`
|