| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="PhysicsServer3DExtension" inherits="PhysicsServer3D" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> |
| 3 | <brief_description> |
| 4 | Provides virtual methods that can be overridden to create custom [PhysicsServer3D] implementations. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | This class extends [PhysicsServer3D] 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. |
| 8 | Intended for use with GDExtension to create custom implementations of [PhysicsServer3D]. |
| 9 | </description> |
| 10 | <tutorials> |
| 11 | </tutorials> |
| 12 | <methods> |
| 13 | <method name="_area_add_shape" qualifiers="virtual required"> |
| 14 | <return type="void" /> |
| 15 | <param index="0" name="area" type="RID" /> |
| 16 | <param index="1" name="shape" type="RID" /> |
| 17 | <param index="2" name="transform" type="Transform3D" /> |
| 18 | <param index="3" name="disabled" type="bool" /> |
| 19 | <description> |
| 20 | </description> |
| 21 | </method> |
| 22 | <method name="_area_attach_object_instance_id" qualifiers="virtual required"> |
| 23 | <return type="void" /> |
| 24 | <param index="0" name="area" type="RID" /> |
| 25 | <param index="1" name="id" type="int" /> |
| 26 | <description> |
| 27 | </description> |
| 28 | </method> |
| 29 | <method name="_area_clear_shapes" qualifiers="virtual required"> |
| 30 | <return type="void" /> |
| 31 | <param index="0" name="area" type="RID" /> |
| 32 | <description> |
| 33 | </description> |
| 34 | </method> |
| 35 | <method name="_area_create" qualifiers="virtual required"> |
| 36 | <return type="RID" /> |
| 37 | <description> |
| 38 | </description> |
| 39 | </method> |
| 40 | <method name="_area_get_collision_layer" qualifiers="virtual required const"> |
| 41 | <return type="int" /> |
| 42 | <param index="0" name="area" type="RID" /> |
| 43 | <description> |
| 44 | </description> |
| 45 | </method> |
| 46 | <method name="_area_get_collision_mask" qualifiers="virtual required const"> |
| 47 | <return type="int" /> |
| 48 | <param index="0" name="area" type="RID" /> |
| 49 | <description> |
| 50 | </description> |
| 51 | </method> |
| 52 | <method name="_area_get_object_instance_id" qualifiers="virtual required const"> |
| 53 | <return type="int" /> |
| 54 | <param index="0" name="area" type="RID" /> |
| 55 | <description> |
| 56 | </description> |
| 57 | </method> |
| 58 | <method name="_area_get_param" qualifiers="virtual required const"> |
| 59 | <return type="Variant" /> |
| 60 | <param index="0" name="area" type="RID" /> |
| 61 | <param index="1" name="param" type="int" enum="PhysicsServer3D.AreaParameter" /> |
| 62 | <description> |
| 63 | </description> |
| 64 | </method> |
| 65 | <method name="_area_get_shape" qualifiers="virtual required const"> |
| 66 | <return type="RID" /> |
| 67 | <param index="0" name="area" type="RID" /> |
| 68 | <param index="1" name="shape_idx" type="int" /> |
| 69 | <description> |
| 70 | </description> |
| 71 | </method> |
| 72 | <method name="_area_get_shape_count" qualifiers="virtual required const"> |
| 73 | <return type="int" /> |
| 74 | <param index="0" name="area" type="RID" /> |
| 75 | <description> |
| 76 | </description> |
| 77 | </method> |
| 78 | <method name="_area_get_shape_transform" qualifiers="virtual required const"> |
| 79 | <return type="Transform3D" /> |
| 80 | <param index="0" name="area" type="RID" /> |
| 81 | <param index="1" name="shape_idx" type="int" /> |
| 82 | <description> |
| 83 | </description> |
| 84 | </method> |
| 85 | <method name="_area_get_space" qualifiers="virtual required const"> |
| 86 | <return type="RID" /> |
| 87 | <param index="0" name="area" type="RID" /> |
| 88 | <description> |
| 89 | </description> |
| 90 | </method> |
| 91 | <method name="_area_get_transform" qualifiers="virtual required const"> |
| 92 | <return type="Transform3D" /> |
| 93 | <param index="0" name="area" type="RID" /> |
| 94 | <description> |
| 95 | </description> |
| 96 | </method> |
| 97 | <method name="_area_remove_shape" qualifiers="virtual required"> |
| 98 | <return type="void" /> |
| 99 | <param index="0" name="area" type="RID" /> |
| 100 | <param index="1" name="shape_idx" type="int" /> |
| 101 | <description> |
| 102 | </description> |
| 103 | </method> |
| 104 | <method name="_area_set_area_monitor_callback" qualifiers="virtual required"> |
| 105 | <return type="void" /> |
| 106 | <param index="0" name="area" type="RID" /> |
| 107 | <param index="1" name="callback" type="Callable" /> |
| 108 | <description> |
| 109 | </description> |
| 110 | </method> |
| 111 | <method name="_area_set_collision_layer" qualifiers="virtual required"> |
| 112 | <return type="void" /> |
| 113 | <param index="0" name="area" type="RID" /> |
| 114 | <param index="1" name="layer" type="int" /> |
| 115 | <description> |
| 116 | </description> |
| 117 | </method> |
| 118 | <method name="_area_set_collision_mask" qualifiers="virtual required"> |
| 119 | <return type="void" /> |
| 120 | <param index="0" name="area" type="RID" /> |
| 121 | <param index="1" name="mask" type="int" /> |
| 122 | <description> |
| 123 | </description> |
| 124 | </method> |
| 125 | <method name="_area_set_monitor_callback" qualifiers="virtual required"> |
| 126 | <return type="void" /> |
| 127 | <param index="0" name="area" type="RID" /> |
| 128 | <param index="1" name="callback" type="Callable" /> |
| 129 | <description> |
| 130 | </description> |
| 131 | </method> |
| 132 | <method name="_area_set_monitorable" qualifiers="virtual required"> |
| 133 | <return type="void" /> |
| 134 | <param index="0" name="area" type="RID" /> |
| 135 | <param index="1" name="monitorable" type="bool" /> |
| 136 | <description> |
| 137 | </description> |
| 138 | </method> |
| 139 | <method name="_area_set_param" qualifiers="virtual required"> |
| 140 | <return type="void" /> |
| 141 | <param index="0" name="area" type="RID" /> |
| 142 | <param index="1" name="param" type="int" enum="PhysicsServer3D.AreaParameter" /> |
| 143 | <param index="2" name="value" type="Variant" /> |
| 144 | <description> |
| 145 | </description> |
| 146 | </method> |
| 147 | <method name="_area_set_ray_pickable" qualifiers="virtual required"> |
| 148 | <return type="void" /> |
| 149 | <param index="0" name="area" type="RID" /> |
| 150 | <param index="1" name="enable" type="bool" /> |
| 151 | <description> |
| 152 | </description> |
| 153 | </method> |
| 154 | <method name="_area_set_shape" qualifiers="virtual required"> |
| 155 | <return type="void" /> |
| 156 | <param index="0" name="area" type="RID" /> |
| 157 | <param index="1" name="shape_idx" type="int" /> |
| 158 | <param index="2" name="shape" type="RID" /> |
| 159 | <description> |
| 160 | </description> |
| 161 | </method> |
| 162 | <method name="_area_set_shape_disabled" qualifiers="virtual required"> |
| 163 | <return type="void" /> |
| 164 | <param index="0" name="area" type="RID" /> |
| 165 | <param index="1" name="shape_idx" type="int" /> |
| 166 | <param index="2" name="disabled" type="bool" /> |
| 167 | <description> |
| 168 | </description> |
| 169 | </method> |
| 170 | <method name="_area_set_shape_transform" qualifiers="virtual required"> |
| 171 | <return type="void" /> |
| 172 | <param index="0" name="area" type="RID" /> |
| 173 | <param index="1" name="shape_idx" type="int" /> |
| 174 | <param index="2" name="transform" type="Transform3D" /> |
| 175 | <description> |
| 176 | </description> |
| 177 | </method> |
| 178 | <method name="_area_set_space" qualifiers="virtual required"> |
| 179 | <return type="void" /> |
| 180 | <param index="0" name="area" type="RID" /> |
| 181 | <param index="1" name="space" type="RID" /> |
| 182 | <description> |
| 183 | </description> |
| 184 | </method> |
| 185 | <method name="_area_set_transform" qualifiers="virtual required"> |
| 186 | <return type="void" /> |
| 187 | <param index="0" name="area" type="RID" /> |
| 188 | <param index="1" name="transform" type="Transform3D" /> |
| 189 | <description> |
| 190 | </description> |
| 191 | </method> |
| 192 | <method name="_body_add_collision_exception" qualifiers="virtual required"> |
| 193 | <return type="void" /> |
| 194 | <param index="0" name="body" type="RID" /> |
| 195 | <param index="1" name="excepted_body" type="RID" /> |
| 196 | <description> |
| 197 | </description> |
| 198 | </method> |
| 199 | <method name="_body_add_constant_central_force" qualifiers="virtual required"> |
| 200 | <return type="void" /> |
| 201 | <param index="0" name="body" type="RID" /> |
| 202 | <param index="1" name="force" type="Vector3" /> |
| 203 | <description> |
| 204 | </description> |
| 205 | </method> |
| 206 | <method name="_body_add_constant_force" qualifiers="virtual required"> |
| 207 | <return type="void" /> |
| 208 | <param index="0" name="body" type="RID" /> |
| 209 | <param index="1" name="force" type="Vector3" /> |
| 210 | <param index="2" name="position" type="Vector3" /> |
| 211 | <description> |
| 212 | </description> |
| 213 | </method> |
| 214 | <method name="_body_add_constant_torque" qualifiers="virtual required"> |
| 215 | <return type="void" /> |
| 216 | <param index="0" name="body" type="RID" /> |
| 217 | <param index="1" name="torque" type="Vector3" /> |
| 218 | <description> |
| 219 | </description> |
| 220 | </method> |
| 221 | <method name="_body_add_shape" qualifiers="virtual required"> |
| 222 | <return type="void" /> |
| 223 | <param index="0" name="body" type="RID" /> |
| 224 | <param index="1" name="shape" type="RID" /> |
| 225 | <param index="2" name="transform" type="Transform3D" /> |
| 226 | <param index="3" name="disabled" type="bool" /> |
| 227 | <description> |
| 228 | </description> |
| 229 | </method> |
| 230 | <method name="_body_apply_central_force" qualifiers="virtual required"> |
| 231 | <return type="void" /> |
| 232 | <param index="0" name="body" type="RID" /> |
| 233 | <param index="1" name="force" type="Vector3" /> |
| 234 | <description> |
| 235 | </description> |
| 236 | </method> |
| 237 | <method name="_body_apply_central_impulse" qualifiers="virtual required"> |
| 238 | <return type="void" /> |
| 239 | <param index="0" name="body" type="RID" /> |
| 240 | <param index="1" name="impulse" type="Vector3" /> |
| 241 | <description> |
| 242 | </description> |
| 243 | </method> |
| 244 | <method name="_body_apply_force" qualifiers="virtual required"> |
| 245 | <return type="void" /> |
| 246 | <param index="0" name="body" type="RID" /> |
| 247 | <param index="1" name="force" type="Vector3" /> |
| 248 | <param index="2" name="position" type="Vector3" /> |
| 249 | <description> |
| 250 | </description> |
| 251 | </method> |
| 252 | <method name="_body_apply_impulse" qualifiers="virtual required"> |
| 253 | <return type="void" /> |
| 254 | <param index="0" name="body" type="RID" /> |
| 255 | <param index="1" name="impulse" type="Vector3" /> |
| 256 | <param index="2" name="position" type="Vector3" /> |
| 257 | <description> |
| 258 | </description> |
| 259 | </method> |
| 260 | <method name="_body_apply_torque" qualifiers="virtual required"> |
| 261 | <return type="void" /> |
| 262 | <param index="0" name="body" type="RID" /> |
| 263 | <param index="1" name="torque" type="Vector3" /> |
| 264 | <description> |
| 265 | </description> |
| 266 | </method> |
| 267 | <method name="_body_apply_torque_impulse" qualifiers="virtual required"> |
| 268 | <return type="void" /> |
| 269 | <param index="0" name="body" type="RID" /> |
| 270 | <param index="1" name="impulse" type="Vector3" /> |
| 271 | <description> |
| 272 | </description> |
| 273 | </method> |
| 274 | <method name="_body_attach_object_instance_id" qualifiers="virtual required"> |
| 275 | <return type="void" /> |
| 276 | <param index="0" name="body" type="RID" /> |
| 277 | <param index="1" name="id" type="int" /> |
| 278 | <description> |
| 279 | </description> |
| 280 | </method> |
| 281 | <method name="_body_clear_shapes" qualifiers="virtual required"> |
| 282 | <return type="void" /> |
| 283 | <param index="0" name="body" type="RID" /> |
| 284 | <description> |
| 285 | </description> |
| 286 | </method> |
| 287 | <method name="_body_create" qualifiers="virtual required"> |
| 288 | <return type="RID" /> |
| 289 | <description> |
| 290 | </description> |
| 291 | </method> |
| 292 | <method name="_body_get_collision_exceptions" qualifiers="virtual required const"> |
| 293 | <return type="RID[]" /> |
| 294 | <param index="0" name="body" type="RID" /> |
| 295 | <description> |
| 296 | </description> |
| 297 | </method> |
| 298 | <method name="_body_get_collision_layer" qualifiers="virtual required const"> |
| 299 | <return type="int" /> |
| 300 | <param index="0" name="body" type="RID" /> |
| 301 | <description> |
| 302 | </description> |
| 303 | </method> |
| 304 | <method name="_body_get_collision_mask" qualifiers="virtual required const"> |
| 305 | <return type="int" /> |
| 306 | <param index="0" name="body" type="RID" /> |
| 307 | <description> |
| 308 | </description> |
| 309 | </method> |
| 310 | <method name="_body_get_collision_priority" qualifiers="virtual required const"> |
| 311 | <return type="float" /> |
| 312 | <param index="0" name="body" type="RID" /> |
| 313 | <description> |
| 314 | </description> |
| 315 | </method> |
| 316 | <method name="_body_get_constant_force" qualifiers="virtual required const"> |
| 317 | <return type="Vector3" /> |
| 318 | <param index="0" name="body" type="RID" /> |
| 319 | <description> |
| 320 | </description> |
| 321 | </method> |
| 322 | <method name="_body_get_constant_torque" qualifiers="virtual required const"> |
| 323 | <return type="Vector3" /> |
| 324 | <param index="0" name="body" type="RID" /> |
| 325 | <description> |
| 326 | </description> |
| 327 | </method> |
| 328 | <method name="_body_get_contacts_reported_depth_threshold" qualifiers="virtual required const"> |
| 329 | <return type="float" /> |
| 330 | <param index="0" name="body" type="RID" /> |
| 331 | <description> |
| 332 | </description> |
| 333 | </method> |
| 334 | <method name="_body_get_direct_state" qualifiers="virtual required"> |
| 335 | <return type="PhysicsDirectBodyState3D" /> |
| 336 | <param index="0" name="body" type="RID" /> |
| 337 | <description> |
| 338 | </description> |
| 339 | </method> |
| 340 | <method name="_body_get_max_contacts_reported" qualifiers="virtual required const"> |
| 341 | <return type="int" /> |
| 342 | <param index="0" name="body" type="RID" /> |
| 343 | <description> |
| 344 | </description> |
| 345 | </method> |
| 346 | <method name="_body_get_mode" qualifiers="virtual required const"> |
| 347 | <return type="int" enum="PhysicsServer3D.BodyMode" /> |
| 348 | <param index="0" name="body" type="RID" /> |
| 349 | <description> |
| 350 | </description> |
| 351 | </method> |
| 352 | <method name="_body_get_object_instance_id" qualifiers="virtual required const"> |
| 353 | <return type="int" /> |
| 354 | <param index="0" name="body" type="RID" /> |
| 355 | <description> |
| 356 | </description> |
| 357 | </method> |
| 358 | <method name="_body_get_param" qualifiers="virtual required const"> |
| 359 | <return type="Variant" /> |
| 360 | <param index="0" name="body" type="RID" /> |
| 361 | <param index="1" name="param" type="int" enum="PhysicsServer3D.BodyParameter" /> |
| 362 | <description> |
| 363 | </description> |
| 364 | </method> |
| 365 | <method name="_body_get_shape" qualifiers="virtual required const"> |
| 366 | <return type="RID" /> |
| 367 | <param index="0" name="body" type="RID" /> |
| 368 | <param index="1" name="shape_idx" type="int" /> |
| 369 | <description> |
| 370 | </description> |
| 371 | </method> |
| 372 | <method name="_body_get_shape_count" qualifiers="virtual required const"> |
| 373 | <return type="int" /> |
| 374 | <param index="0" name="body" type="RID" /> |
| 375 | <description> |
| 376 | </description> |
| 377 | </method> |
| 378 | <method name="_body_get_shape_transform" qualifiers="virtual required const"> |
| 379 | <return type="Transform3D" /> |
| 380 | <param index="0" name="body" type="RID" /> |
| 381 | <param index="1" name="shape_idx" type="int" /> |
| 382 | <description> |
| 383 | </description> |
| 384 | </method> |
| 385 | <method name="_body_get_space" qualifiers="virtual required const"> |
| 386 | <return type="RID" /> |
| 387 | <param index="0" name="body" type="RID" /> |
| 388 | <description> |
| 389 | </description> |
| 390 | </method> |
| 391 | <method name="_body_get_state" qualifiers="virtual required const"> |
| 392 | <return type="Variant" /> |
| 393 | <param index="0" name="body" type="RID" /> |
| 394 | <param index="1" name="state" type="int" enum="PhysicsServer3D.BodyState" /> |
| 395 | <description> |
| 396 | </description> |
| 397 | </method> |
| 398 | <method name="_body_get_user_flags" qualifiers="virtual required const"> |
| 399 | <return type="int" /> |
| 400 | <param index="0" name="body" type="RID" /> |
| 401 | <description> |
| 402 | </description> |
| 403 | </method> |
| 404 | <method name="_body_is_axis_locked" qualifiers="virtual required const"> |
| 405 | <return type="bool" /> |
| 406 | <param index="0" name="body" type="RID" /> |
| 407 | <param index="1" name="axis" type="int" enum="PhysicsServer3D.BodyAxis" /> |
| 408 | <description> |
| 409 | </description> |
| 410 | </method> |
| 411 | <method name="_body_is_continuous_collision_detection_enabled" qualifiers="virtual required const"> |
| 412 | <return type="bool" /> |
| 413 | <param index="0" name="body" type="RID" /> |
| 414 | <description> |
| 415 | </description> |
| 416 | </method> |
| 417 | <method name="_body_is_omitting_force_integration" qualifiers="virtual required const"> |
| 418 | <return type="bool" /> |
| 419 | <param index="0" name="body" type="RID" /> |
| 420 | <description> |
| 421 | </description> |
| 422 | </method> |
| 423 | <method name="_body_remove_collision_exception" qualifiers="virtual required"> |
| 424 | <return type="void" /> |
| 425 | <param index="0" name="body" type="RID" /> |
| 426 | <param index="1" name="excepted_body" type="RID" /> |
| 427 | <description> |
| 428 | </description> |
| 429 | </method> |
| 430 | <method name="_body_remove_shape" qualifiers="virtual required"> |
| 431 | <return type="void" /> |
| 432 | <param index="0" name="body" type="RID" /> |
| 433 | <param index="1" name="shape_idx" type="int" /> |
| 434 | <description> |
| 435 | </description> |
| 436 | </method> |
| 437 | <method name="_body_reset_mass_properties" qualifiers="virtual required"> |
| 438 | <return type="void" /> |
| 439 | <param index="0" name="body" type="RID" /> |
| 440 | <description> |
| 441 | </description> |
| 442 | </method> |
| 443 | <method name="_body_set_axis_lock" qualifiers="virtual required"> |
| 444 | <return type="void" /> |
| 445 | <param index="0" name="body" type="RID" /> |
| 446 | <param index="1" name="axis" type="int" enum="PhysicsServer3D.BodyAxis" /> |
| 447 | <param index="2" name="lock" type="bool" /> |
| 448 | <description> |
| 449 | </description> |
| 450 | </method> |
| 451 | <method name="_body_set_axis_velocity" qualifiers="virtual required"> |
| 452 | <return type="void" /> |
| 453 | <param index="0" name="body" type="RID" /> |
| 454 | <param index="1" name="axis_velocity" type="Vector3" /> |
| 455 | <description> |
| 456 | </description> |
| 457 | </method> |
| 458 | <method name="_body_set_collision_layer" qualifiers="virtual required"> |
| 459 | <return type="void" /> |
| 460 | <param index="0" name="body" type="RID" /> |
| 461 | <param index="1" name="layer" type="int" /> |
| 462 | <description> |
| 463 | </description> |
| 464 | </method> |
| 465 | <method name="_body_set_collision_mask" qualifiers="virtual required"> |
| 466 | <return type="void" /> |
| 467 | <param index="0" name="body" type="RID" /> |
| 468 | <param index="1" name="mask" type="int" /> |
| 469 | <description> |
| 470 | </description> |
| 471 | </method> |
| 472 | <method name="_body_set_collision_priority" qualifiers="virtual required"> |
| 473 | <return type="void" /> |
| 474 | <param index="0" name="body" type="RID" /> |
| 475 | <param index="1" name="priority" type="float" /> |
| 476 | <description> |
| 477 | </description> |
| 478 | </method> |
| 479 | <method name="_body_set_constant_force" qualifiers="virtual required"> |
| 480 | <return type="void" /> |
| 481 | <param index="0" name="body" type="RID" /> |
| 482 | <param index="1" name="force" type="Vector3" /> |
| 483 | <description> |
| 484 | </description> |
| 485 | </method> |
| 486 | <method name="_body_set_constant_torque" qualifiers="virtual required"> |
| 487 | <return type="void" /> |
| 488 | <param index="0" name="body" type="RID" /> |
| 489 | <param index="1" name="torque" type="Vector3" /> |
| 490 | <description> |
| 491 | </description> |
| 492 | </method> |
| 493 | <method name="_body_set_contacts_reported_depth_threshold" qualifiers="virtual required"> |
| 494 | <return type="void" /> |
| 495 | <param index="0" name="body" type="RID" /> |
| 496 | <param index="1" name="threshold" type="float" /> |
| 497 | <description> |
| 498 | </description> |
| 499 | </method> |
| 500 | <method name="_body_set_enable_continuous_collision_detection" qualifiers="virtual required"> |
| 501 | <return type="void" /> |
| 502 | <param index="0" name="body" type="RID" /> |
| 503 | <param index="1" name="enable" type="bool" /> |
| 504 | <description> |
| 505 | </description> |
| 506 | </method> |
| 507 | <method name="_body_set_force_integration_callback" qualifiers="virtual required"> |
| 508 | <return type="void" /> |
| 509 | <param index="0" name="body" type="RID" /> |
| 510 | <param index="1" name="callable" type="Callable" /> |
| 511 | <param index="2" name="userdata" type="Variant" /> |
| 512 | <description> |
| 513 | </description> |
| 514 | </method> |
| 515 | <method name="_body_set_max_contacts_reported" qualifiers="virtual required"> |
| 516 | <return type="void" /> |
| 517 | <param index="0" name="body" type="RID" /> |
| 518 | <param index="1" name="amount" type="int" /> |
| 519 | <description> |
| 520 | </description> |
| 521 | </method> |
| 522 | <method name="_body_set_mode" qualifiers="virtual required"> |
| 523 | <return type="void" /> |
| 524 | <param index="0" name="body" type="RID" /> |
| 525 | <param index="1" name="mode" type="int" enum="PhysicsServer3D.BodyMode" /> |
| 526 | <description> |
| 527 | </description> |
| 528 | </method> |
| 529 | <method name="_body_set_omit_force_integration" qualifiers="virtual required"> |
| 530 | <return type="void" /> |
| 531 | <param index="0" name="body" type="RID" /> |
| 532 | <param index="1" name="enable" type="bool" /> |
| 533 | <description> |
| 534 | </description> |
| 535 | </method> |
| 536 | <method name="_body_set_param" qualifiers="virtual required"> |
| 537 | <return type="void" /> |
| 538 | <param index="0" name="body" type="RID" /> |
| 539 | <param index="1" name="param" type="int" enum="PhysicsServer3D.BodyParameter" /> |
| 540 | <param index="2" name="value" type="Variant" /> |
| 541 | <description> |
| 542 | </description> |
| 543 | </method> |
| 544 | <method name="_body_set_ray_pickable" qualifiers="virtual required"> |
| 545 | <return type="void" /> |
| 546 | <param index="0" name="body" type="RID" /> |
| 547 | <param index="1" name="enable" type="bool" /> |
| 548 | <description> |
| 549 | </description> |
| 550 | </method> |
| 551 | <method name="_body_set_shape" qualifiers="virtual required"> |
| 552 | <return type="void" /> |
| 553 | <param index="0" name="body" type="RID" /> |
| 554 | <param index="1" name="shape_idx" type="int" /> |
| 555 | <param index="2" name="shape" type="RID" /> |
| 556 | <description> |
| 557 | </description> |
| 558 | </method> |
| 559 | <method name="_body_set_shape_disabled" qualifiers="virtual required"> |
| 560 | <return type="void" /> |
| 561 | <param index="0" name="body" type="RID" /> |
| 562 | <param index="1" name="shape_idx" type="int" /> |
| 563 | <param index="2" name="disabled" type="bool" /> |
| 564 | <description> |
| 565 | </description> |
| 566 | </method> |
| 567 | <method name="_body_set_shape_transform" qualifiers="virtual required"> |
| 568 | <return type="void" /> |
| 569 | <param index="0" name="body" type="RID" /> |
| 570 | <param index="1" name="shape_idx" type="int" /> |
| 571 | <param index="2" name="transform" type="Transform3D" /> |
| 572 | <description> |
| 573 | </description> |
| 574 | </method> |
| 575 | <method name="_body_set_space" qualifiers="virtual required"> |
| 576 | <return type="void" /> |
| 577 | <param index="0" name="body" type="RID" /> |
| 578 | <param index="1" name="space" type="RID" /> |
| 579 | <description> |
| 580 | </description> |
| 581 | </method> |
| 582 | <method name="_body_set_state" qualifiers="virtual required"> |
| 583 | <return type="void" /> |
| 584 | <param index="0" name="body" type="RID" /> |
| 585 | <param index="1" name="state" type="int" enum="PhysicsServer3D.BodyState" /> |
| 586 | <param index="2" name="value" type="Variant" /> |
| 587 | <description> |
| 588 | </description> |
| 589 | </method> |
| 590 | <method name="_body_set_state_sync_callback" qualifiers="virtual required"> |
| 591 | <return type="void" /> |
| 592 | <param index="0" name="body" type="RID" /> |
| 593 | <param index="1" name="callable" type="Callable" /> |
| 594 | <description> |
| 595 | </description> |
| 596 | </method> |
| 597 | <method name="_body_set_user_flags" qualifiers="virtual required"> |
| 598 | <return type="void" /> |
| 599 | <param index="0" name="body" type="RID" /> |
| 600 | <param index="1" name="flags" type="int" /> |
| 601 | <description> |
| 602 | </description> |
| 603 | </method> |
| 604 | <method name="_body_test_motion" qualifiers="virtual required const"> |
| 605 | <return type="bool" /> |
| 606 | <param index="0" name="body" type="RID" /> |
| 607 | <param index="1" name="from" type="Transform3D" /> |
| 608 | <param index="2" name="motion" type="Vector3" /> |
| 609 | <param index="3" name="margin" type="float" /> |
| 610 | <param index="4" name="max_collisions" type="int" /> |
| 611 | <param index="5" name="collide_separation_ray" type="bool" /> |
| 612 | <param index="6" name="recovery_as_collision" type="bool" /> |
| 613 | <param index="7" name="result" type="PhysicsServer3DExtensionMotionResult*" /> |
| 614 | <description> |
| 615 | </description> |
| 616 | </method> |
| 617 | <method name="_box_shape_create" qualifiers="virtual required"> |
| 618 | <return type="RID" /> |
| 619 | <description> |
| 620 | </description> |
| 621 | </method> |
| 622 | <method name="_capsule_shape_create" qualifiers="virtual required"> |
| 623 | <return type="RID" /> |
| 624 | <description> |
| 625 | </description> |
| 626 | </method> |
| 627 | <method name="_concave_polygon_shape_create" qualifiers="virtual required"> |
| 628 | <return type="RID" /> |
| 629 | <description> |
| 630 | </description> |
| 631 | </method> |
| 632 | <method name="_cone_twist_joint_get_param" qualifiers="virtual required const"> |
| 633 | <return type="float" /> |
| 634 | <param index="0" name="joint" type="RID" /> |
| 635 | <param index="1" name="param" type="int" enum="PhysicsServer3D.ConeTwistJointParam" /> |
| 636 | <description> |
| 637 | </description> |
| 638 | </method> |
| 639 | <method name="_cone_twist_joint_set_param" qualifiers="virtual required"> |
| 640 | <return type="void" /> |
| 641 | <param index="0" name="joint" type="RID" /> |
| 642 | <param index="1" name="param" type="int" enum="PhysicsServer3D.ConeTwistJointParam" /> |
| 643 | <param index="2" name="value" type="float" /> |
| 644 | <description> |
| 645 | </description> |
| 646 | </method> |
| 647 | <method name="_convex_polygon_shape_create" qualifiers="virtual required"> |
| 648 | <return type="RID" /> |
| 649 | <description> |
| 650 | </description> |
| 651 | </method> |
| 652 | <method name="_custom_shape_create" qualifiers="virtual required"> |
| 653 | <return type="RID" /> |
| 654 | <description> |
| 655 | </description> |
| 656 | </method> |
| 657 | <method name="_cylinder_shape_create" qualifiers="virtual required"> |
| 658 | <return type="RID" /> |
| 659 | <description> |
| 660 | </description> |
| 661 | </method> |
| 662 | <method name="_end_sync" qualifiers="virtual required"> |
| 663 | <return type="void" /> |
| 664 | <description> |
| 665 | </description> |
| 666 | </method> |
| 667 | <method name="_finish" qualifiers="virtual required"> |
| 668 | <return type="void" /> |
| 669 | <description> |
| 670 | </description> |
| 671 | </method> |
| 672 | <method name="_flush_queries" qualifiers="virtual required"> |
| 673 | <return type="void" /> |
| 674 | <description> |
| 675 | </description> |
| 676 | </method> |
| 677 | <method name="_free_rid" qualifiers="virtual required"> |
| 678 | <return type="void" /> |
| 679 | <param index="0" name="rid" type="RID" /> |
| 680 | <description> |
| 681 | </description> |
| 682 | </method> |
| 683 | <method name="_generic_6dof_joint_get_flag" qualifiers="virtual required const"> |
| 684 | <return type="bool" /> |
| 685 | <param index="0" name="joint" type="RID" /> |
| 686 | <param index="1" name="axis" type="int" enum="Vector3.Axis" /> |
| 687 | <param index="2" name="flag" type="int" enum="PhysicsServer3D.G6DOFJointAxisFlag" /> |
| 688 | <description> |
| 689 | </description> |
| 690 | </method> |
| 691 | <method name="_generic_6dof_joint_get_param" qualifiers="virtual required const"> |
| 692 | <return type="float" /> |
| 693 | <param index="0" name="joint" type="RID" /> |
| 694 | <param index="1" name="axis" type="int" enum="Vector3.Axis" /> |
| 695 | <param index="2" name="param" type="int" enum="PhysicsServer3D.G6DOFJointAxisParam" /> |
| 696 | <description> |
| 697 | </description> |
| 698 | </method> |
| 699 | <method name="_generic_6dof_joint_set_flag" qualifiers="virtual required"> |
| 700 | <return type="void" /> |
| 701 | <param index="0" name="joint" type="RID" /> |
| 702 | <param index="1" name="axis" type="int" enum="Vector3.Axis" /> |
| 703 | <param index="2" name="flag" type="int" enum="PhysicsServer3D.G6DOFJointAxisFlag" /> |
| 704 | <param index="3" name="enable" type="bool" /> |
| 705 | <description> |
| 706 | </description> |
| 707 | </method> |
| 708 | <method name="_generic_6dof_joint_set_param" qualifiers="virtual required"> |
| 709 | <return type="void" /> |
| 710 | <param index="0" name="joint" type="RID" /> |
| 711 | <param index="1" name="axis" type="int" enum="Vector3.Axis" /> |
| 712 | <param index="2" name="param" type="int" enum="PhysicsServer3D.G6DOFJointAxisParam" /> |
| 713 | <param index="3" name="value" type="float" /> |
| 714 | <description> |
| 715 | </description> |
| 716 | </method> |
| 717 | <method name="_get_process_info" qualifiers="virtual required"> |
| 718 | <return type="int" /> |
| 719 | <param index="0" name="process_info" type="int" enum="PhysicsServer3D.ProcessInfo" /> |
| 720 | <description> |
| 721 | </description> |
| 722 | </method> |
| 723 | <method name="_heightmap_shape_create" qualifiers="virtual required"> |
| 724 | <return type="RID" /> |
| 725 | <description> |
| 726 | </description> |
| 727 | </method> |
| 728 | <method name="_hinge_joint_get_flag" qualifiers="virtual required const"> |
| 729 | <return type="bool" /> |
| 730 | <param index="0" name="joint" type="RID" /> |
| 731 | <param index="1" name="flag" type="int" enum="PhysicsServer3D.HingeJointFlag" /> |
| 732 | <description> |
| 733 | </description> |
| 734 | </method> |
| 735 | <method name="_hinge_joint_get_param" qualifiers="virtual required const"> |
| 736 | <return type="float" /> |
| 737 | <param index="0" name="joint" type="RID" /> |
| 738 | <param index="1" name="param" type="int" enum="PhysicsServer3D.HingeJointParam" /> |
| 739 | <description> |
| 740 | </description> |
| 741 | </method> |
| 742 | <method name="_hinge_joint_set_flag" qualifiers="virtual required"> |
| 743 | <return type="void" /> |
| 744 | <param index="0" name="joint" type="RID" /> |
| 745 | <param index="1" name="flag" type="int" enum="PhysicsServer3D.HingeJointFlag" /> |
| 746 | <param index="2" name="enabled" type="bool" /> |
| 747 | <description> |
| 748 | </description> |
| 749 | </method> |
| 750 | <method name="_hinge_joint_set_param" qualifiers="virtual required"> |
| 751 | <return type="void" /> |
| 752 | <param index="0" name="joint" type="RID" /> |
| 753 | <param index="1" name="param" type="int" enum="PhysicsServer3D.HingeJointParam" /> |
| 754 | <param index="2" name="value" type="float" /> |
| 755 | <description> |
| 756 | </description> |
| 757 | </method> |
| 758 | <method name="_init" qualifiers="virtual required"> |
| 759 | <return type="void" /> |
| 760 | <description> |
| 761 | </description> |
| 762 | </method> |
| 763 | <method name="_is_flushing_queries" qualifiers="virtual required const"> |
| 764 | <return type="bool" /> |
| 765 | <description> |
| 766 | </description> |
| 767 | </method> |
| 768 | <method name="_joint_clear" qualifiers="virtual required"> |
| 769 | <return type="void" /> |
| 770 | <param index="0" name="joint" type="RID" /> |
| 771 | <description> |
| 772 | </description> |
| 773 | </method> |
| 774 | <method name="_joint_create" qualifiers="virtual required"> |
| 775 | <return type="RID" /> |
| 776 | <description> |
| 777 | </description> |
| 778 | </method> |
| 779 | <method name="_joint_disable_collisions_between_bodies" qualifiers="virtual required"> |
| 780 | <return type="void" /> |
| 781 | <param index="0" name="joint" type="RID" /> |
| 782 | <param index="1" name="disable" type="bool" /> |
| 783 | <description> |
| 784 | </description> |
| 785 | </method> |
| 786 | <method name="_joint_get_solver_priority" qualifiers="virtual required const"> |
| 787 | <return type="int" /> |
| 788 | <param index="0" name="joint" type="RID" /> |
| 789 | <description> |
| 790 | </description> |
| 791 | </method> |
| 792 | <method name="_joint_get_type" qualifiers="virtual required const"> |
| 793 | <return type="int" enum="PhysicsServer3D.JointType" /> |
| 794 | <param index="0" name="joint" type="RID" /> |
| 795 | <description> |
| 796 | </description> |
| 797 | </method> |
| 798 | <method name="_joint_is_disabled_collisions_between_bodies" qualifiers="virtual required const"> |
| 799 | <return type="bool" /> |
| 800 | <param index="0" name="joint" type="RID" /> |
| 801 | <description> |
| 802 | </description> |
| 803 | </method> |
| 804 | <method name="_joint_make_cone_twist" qualifiers="virtual required"> |
| 805 | <return type="void" /> |
| 806 | <param index="0" name="joint" type="RID" /> |
| 807 | <param index="1" name="body_A" type="RID" /> |
| 808 | <param index="2" name="local_ref_A" type="Transform3D" /> |
| 809 | <param index="3" name="body_B" type="RID" /> |
| 810 | <param index="4" name="local_ref_B" type="Transform3D" /> |
| 811 | <description> |
| 812 | </description> |
| 813 | </method> |
| 814 | <method name="_joint_make_generic_6dof" qualifiers="virtual required"> |
| 815 | <return type="void" /> |
| 816 | <param index="0" name="joint" type="RID" /> |
| 817 | <param index="1" name="body_A" type="RID" /> |
| 818 | <param index="2" name="local_ref_A" type="Transform3D" /> |
| 819 | <param index="3" name="body_B" type="RID" /> |
| 820 | <param index="4" name="local_ref_B" type="Transform3D" /> |
| 821 | <description> |
| 822 | </description> |
| 823 | </method> |
| 824 | <method name="_joint_make_hinge" qualifiers="virtual required"> |
| 825 | <return type="void" /> |
| 826 | <param index="0" name="joint" type="RID" /> |
| 827 | <param index="1" name="body_A" type="RID" /> |
| 828 | <param index="2" name="hinge_A" type="Transform3D" /> |
| 829 | <param index="3" name="body_B" type="RID" /> |
| 830 | <param index="4" name="hinge_B" type="Transform3D" /> |
| 831 | <description> |
| 832 | </description> |
| 833 | </method> |
| 834 | <method name="_joint_make_hinge_simple" qualifiers="virtual required"> |
| 835 | <return type="void" /> |
| 836 | <param index="0" name="joint" type="RID" /> |
| 837 | <param index="1" name="body_A" type="RID" /> |
| 838 | <param index="2" name="pivot_A" type="Vector3" /> |
| 839 | <param index="3" name="axis_A" type="Vector3" /> |
| 840 | <param index="4" name="body_B" type="RID" /> |
| 841 | <param index="5" name="pivot_B" type="Vector3" /> |
| 842 | <param index="6" name="axis_B" type="Vector3" /> |
| 843 | <description> |
| 844 | </description> |
| 845 | </method> |
| 846 | <method name="_joint_make_pin" qualifiers="virtual required"> |
| 847 | <return type="void" /> |
| 848 | <param index="0" name="joint" type="RID" /> |
| 849 | <param index="1" name="body_A" type="RID" /> |
| 850 | <param index="2" name="local_A" type="Vector3" /> |
| 851 | <param index="3" name="body_B" type="RID" /> |
| 852 | <param index="4" name="local_B" type="Vector3" /> |
| 853 | <description> |
| 854 | </description> |
| 855 | </method> |
| 856 | <method name="_joint_make_slider" qualifiers="virtual required"> |
| 857 | <return type="void" /> |
| 858 | <param index="0" name="joint" type="RID" /> |
| 859 | <param index="1" name="body_A" type="RID" /> |
| 860 | <param index="2" name="local_ref_A" type="Transform3D" /> |
| 861 | <param index="3" name="body_B" type="RID" /> |
| 862 | <param index="4" name="local_ref_B" type="Transform3D" /> |
| 863 | <description> |
| 864 | </description> |
| 865 | </method> |
| 866 | <method name="_joint_set_solver_priority" qualifiers="virtual required"> |
| 867 | <return type="void" /> |
| 868 | <param index="0" name="joint" type="RID" /> |
| 869 | <param index="1" name="priority" type="int" /> |
| 870 | <description> |
| 871 | </description> |
| 872 | </method> |
| 873 | <method name="_pin_joint_get_local_a" qualifiers="virtual required const"> |
| 874 | <return type="Vector3" /> |
| 875 | <param index="0" name="joint" type="RID" /> |
| 876 | <description> |
| 877 | </description> |
| 878 | </method> |
| 879 | <method name="_pin_joint_get_local_b" qualifiers="virtual required const"> |
| 880 | <return type="Vector3" /> |
| 881 | <param index="0" name="joint" type="RID" /> |
| 882 | <description> |
| 883 | </description> |
| 884 | </method> |
| 885 | <method name="_pin_joint_get_param" qualifiers="virtual required const"> |
| 886 | <return type="float" /> |
| 887 | <param index="0" name="joint" type="RID" /> |
| 888 | <param index="1" name="param" type="int" enum="PhysicsServer3D.PinJointParam" /> |
| 889 | <description> |
| 890 | </description> |
| 891 | </method> |
| 892 | <method name="_pin_joint_set_local_a" qualifiers="virtual required"> |
| 893 | <return type="void" /> |
| 894 | <param index="0" name="joint" type="RID" /> |
| 895 | <param index="1" name="local_A" type="Vector3" /> |
| 896 | <description> |
| 897 | </description> |
| 898 | </method> |
| 899 | <method name="_pin_joint_set_local_b" qualifiers="virtual required"> |
| 900 | <return type="void" /> |
| 901 | <param index="0" name="joint" type="RID" /> |
| 902 | <param index="1" name="local_B" type="Vector3" /> |
| 903 | <description> |
| 904 | </description> |
| 905 | </method> |
| 906 | <method name="_pin_joint_set_param" qualifiers="virtual required"> |
| 907 | <return type="void" /> |
| 908 | <param index="0" name="joint" type="RID" /> |
| 909 | <param index="1" name="param" type="int" enum="PhysicsServer3D.PinJointParam" /> |
| 910 | <param index="2" name="value" type="float" /> |
| 911 | <description> |
| 912 | </description> |
| 913 | </method> |
| 914 | <method name="_separation_ray_shape_create" qualifiers="virtual required"> |
| 915 | <return type="RID" /> |
| 916 | <description> |
| 917 | </description> |
| 918 | </method> |
| 919 | <method name="_set_active" qualifiers="virtual required"> |
| 920 | <return type="void" /> |
| 921 | <param index="0" name="active" type="bool" /> |
| 922 | <description> |
| 923 | </description> |
| 924 | </method> |
| 925 | <method name="_shape_get_custom_solver_bias" qualifiers="virtual required const"> |
| 926 | <return type="float" /> |
| 927 | <param index="0" name="shape" type="RID" /> |
| 928 | <description> |
| 929 | </description> |
| 930 | </method> |
| 931 | <method name="_shape_get_data" qualifiers="virtual required const"> |
| 932 | <return type="Variant" /> |
| 933 | <param index="0" name="shape" type="RID" /> |
| 934 | <description> |
| 935 | </description> |
| 936 | </method> |
| 937 | <method name="_shape_get_margin" qualifiers="virtual required const"> |
| 938 | <return type="float" /> |
| 939 | <param index="0" name="shape" type="RID" /> |
| 940 | <description> |
| 941 | </description> |
| 942 | </method> |
| 943 | <method name="_shape_get_type" qualifiers="virtual required const"> |
| 944 | <return type="int" enum="PhysicsServer3D.ShapeType" /> |
| 945 | <param index="0" name="shape" type="RID" /> |
| 946 | <description> |
| 947 | </description> |
| 948 | </method> |
| 949 | <method name="_shape_set_custom_solver_bias" qualifiers="virtual required"> |
| 950 | <return type="void" /> |
| 951 | <param index="0" name="shape" type="RID" /> |
| 952 | <param index="1" name="bias" type="float" /> |
| 953 | <description> |
| 954 | </description> |
| 955 | </method> |
| 956 | <method name="_shape_set_data" qualifiers="virtual required"> |
| 957 | <return type="void" /> |
| 958 | <param index="0" name="shape" type="RID" /> |
| 959 | <param index="1" name="data" type="Variant" /> |
| 960 | <description> |
| 961 | </description> |
| 962 | </method> |
| 963 | <method name="_shape_set_margin" qualifiers="virtual required"> |
| 964 | <return type="void" /> |
| 965 | <param index="0" name="shape" type="RID" /> |
| 966 | <param index="1" name="margin" type="float" /> |
| 967 | <description> |
| 968 | </description> |
| 969 | </method> |
| 970 | <method name="_slider_joint_get_param" qualifiers="virtual required const"> |
| 971 | <return type="float" /> |
| 972 | <param index="0" name="joint" type="RID" /> |
| 973 | <param index="1" name="param" type="int" enum="PhysicsServer3D.SliderJointParam" /> |
| 974 | <description> |
| 975 | </description> |
| 976 | </method> |
| 977 | <method name="_slider_joint_set_param" qualifiers="virtual required"> |
| 978 | <return type="void" /> |
| 979 | <param index="0" name="joint" type="RID" /> |
| 980 | <param index="1" name="param" type="int" enum="PhysicsServer3D.SliderJointParam" /> |
| 981 | <param index="2" name="value" type="float" /> |
| 982 | <description> |
| 983 | </description> |
| 984 | </method> |
| 985 | <method name="_soft_body_add_collision_exception" qualifiers="virtual required"> |
| 986 | <return type="void" /> |
| 987 | <param index="0" name="body" type="RID" /> |
| 988 | <param index="1" name="body_b" type="RID" /> |
| 989 | <description> |
| 990 | </description> |
| 991 | </method> |
| 992 | <method name="_soft_body_apply_central_force" qualifiers="virtual required"> |
| 993 | <return type="void" /> |
| 994 | <param index="0" name="body" type="RID" /> |
| 995 | <param index="1" name="force" type="Vector3" /> |
| 996 | <description> |
| 997 | </description> |
| 998 | </method> |
| 999 | <method name="_soft_body_apply_central_impulse" qualifiers="virtual required"> |
| 1000 | <return type="void" /> |
| 1001 | <param index="0" name="body" type="RID" /> |
| 1002 | <param index="1" name="impulse" type="Vector3" /> |
| 1003 | <description> |
| 1004 | </description> |
| 1005 | </method> |
| 1006 | <method name="_soft_body_apply_point_force" qualifiers="virtual required"> |
| 1007 | <return type="void" /> |
| 1008 | <param index="0" name="body" type="RID" /> |
| 1009 | <param index="1" name="point_index" type="int" /> |
| 1010 | <param index="2" name="force" type="Vector3" /> |
| 1011 | <description> |
| 1012 | </description> |
| 1013 | </method> |
| 1014 | <method name="_soft_body_apply_point_impulse" qualifiers="virtual required"> |
| 1015 | <return type="void" /> |
| 1016 | <param index="0" name="body" type="RID" /> |
| 1017 | <param index="1" name="point_index" type="int" /> |
| 1018 | <param index="2" name="impulse" type="Vector3" /> |
| 1019 | <description> |
| 1020 | </description> |
| 1021 | </method> |
| 1022 | <method name="_soft_body_create" qualifiers="virtual required"> |
| 1023 | <return type="RID" /> |
| 1024 | <description> |
| 1025 | </description> |
| 1026 | </method> |
| 1027 | <method name="_soft_body_get_bounds" qualifiers="virtual required const"> |
| 1028 | <return type="AABB" /> |
| 1029 | <param index="0" name="body" type="RID" /> |
| 1030 | <description> |
| 1031 | </description> |
| 1032 | </method> |
| 1033 | <method name="_soft_body_get_collision_exceptions" qualifiers="virtual required const"> |
| 1034 | <return type="RID[]" /> |
| 1035 | <param index="0" name="body" type="RID" /> |
| 1036 | <description> |
| 1037 | </description> |
| 1038 | </method> |
| 1039 | <method name="_soft_body_get_collision_layer" qualifiers="virtual required const"> |
| 1040 | <return type="int" /> |
| 1041 | <param index="0" name="body" type="RID" /> |
| 1042 | <description> |
| 1043 | </description> |
| 1044 | </method> |
| 1045 | <method name="_soft_body_get_collision_mask" qualifiers="virtual required const"> |
| 1046 | <return type="int" /> |
| 1047 | <param index="0" name="body" type="RID" /> |
| 1048 | <description> |
| 1049 | </description> |
| 1050 | </method> |
| 1051 | <method name="_soft_body_get_damping_coefficient" qualifiers="virtual required const"> |
| 1052 | <return type="float" /> |
| 1053 | <param index="0" name="body" type="RID" /> |
| 1054 | <description> |
| 1055 | </description> |
| 1056 | </method> |
| 1057 | <method name="_soft_body_get_drag_coefficient" qualifiers="virtual required const"> |
| 1058 | <return type="float" /> |
| 1059 | <param index="0" name="body" type="RID" /> |
| 1060 | <description> |
| 1061 | </description> |
| 1062 | </method> |
| 1063 | <method name="_soft_body_get_linear_stiffness" qualifiers="virtual required const"> |
| 1064 | <return type="float" /> |
| 1065 | <param index="0" name="body" type="RID" /> |
| 1066 | <description> |
| 1067 | </description> |
| 1068 | </method> |
| 1069 | <method name="_soft_body_get_point_global_position" qualifiers="virtual required const"> |
| 1070 | <return type="Vector3" /> |
| 1071 | <param index="0" name="body" type="RID" /> |
| 1072 | <param index="1" name="point_index" type="int" /> |
| 1073 | <description> |
| 1074 | </description> |
| 1075 | </method> |
| 1076 | <method name="_soft_body_get_pressure_coefficient" qualifiers="virtual required const"> |
| 1077 | <return type="float" /> |
| 1078 | <param index="0" name="body" type="RID" /> |
| 1079 | <description> |
| 1080 | </description> |
| 1081 | </method> |
| 1082 | <method name="_soft_body_get_shrinking_factor" qualifiers="virtual required const"> |
| 1083 | <return type="float" /> |
| 1084 | <param index="0" name="body" type="RID" /> |
| 1085 | <description> |
| 1086 | </description> |
| 1087 | </method> |
| 1088 | <method name="_soft_body_get_simulation_precision" qualifiers="virtual required const"> |
| 1089 | <return type="int" /> |
| 1090 | <param index="0" name="body" type="RID" /> |
| 1091 | <description> |
| 1092 | </description> |
| 1093 | </method> |
| 1094 | <method name="_soft_body_get_space" qualifiers="virtual required const"> |
| 1095 | <return type="RID" /> |
| 1096 | <param index="0" name="body" type="RID" /> |
| 1097 | <description> |
| 1098 | </description> |
| 1099 | </method> |
| 1100 | <method name="_soft_body_get_state" qualifiers="virtual required const"> |
| 1101 | <return type="Variant" /> |
| 1102 | <param index="0" name="body" type="RID" /> |
| 1103 | <param index="1" name="state" type="int" enum="PhysicsServer3D.BodyState" /> |
| 1104 | <description> |
| 1105 | </description> |
| 1106 | </method> |
| 1107 | <method name="_soft_body_get_total_mass" qualifiers="virtual required const"> |
| 1108 | <return type="float" /> |
| 1109 | <param index="0" name="body" type="RID" /> |
| 1110 | <description> |
| 1111 | </description> |
| 1112 | </method> |
| 1113 | <method name="_soft_body_is_point_pinned" qualifiers="virtual required const"> |
| 1114 | <return type="bool" /> |
| 1115 | <param index="0" name="body" type="RID" /> |
| 1116 | <param index="1" name="point_index" type="int" /> |
| 1117 | <description> |
| 1118 | </description> |
| 1119 | </method> |
| 1120 | <method name="_soft_body_move_point" qualifiers="virtual required"> |
| 1121 | <return type="void" /> |
| 1122 | <param index="0" name="body" type="RID" /> |
| 1123 | <param index="1" name="point_index" type="int" /> |
| 1124 | <param index="2" name="global_position" type="Vector3" /> |
| 1125 | <description> |
| 1126 | </description> |
| 1127 | </method> |
| 1128 | <method name="_soft_body_pin_point" qualifiers="virtual required"> |
| 1129 | <return type="void" /> |
| 1130 | <param index="0" name="body" type="RID" /> |
| 1131 | <param index="1" name="point_index" type="int" /> |
| 1132 | <param index="2" name="pin" type="bool" /> |
| 1133 | <description> |
| 1134 | </description> |
| 1135 | </method> |
| 1136 | <method name="_soft_body_remove_all_pinned_points" qualifiers="virtual required"> |
| 1137 | <return type="void" /> |
| 1138 | <param index="0" name="body" type="RID" /> |
| 1139 | <description> |
| 1140 | </description> |
| 1141 | </method> |
| 1142 | <method name="_soft_body_remove_collision_exception" qualifiers="virtual required"> |
| 1143 | <return type="void" /> |
| 1144 | <param index="0" name="body" type="RID" /> |
| 1145 | <param index="1" name="body_b" type="RID" /> |
| 1146 | <description> |
| 1147 | </description> |
| 1148 | </method> |
| 1149 | <method name="_soft_body_set_collision_layer" qualifiers="virtual required"> |
| 1150 | <return type="void" /> |
| 1151 | <param index="0" name="body" type="RID" /> |
| 1152 | <param index="1" name="layer" type="int" /> |
| 1153 | <description> |
| 1154 | </description> |
| 1155 | </method> |
| 1156 | <method name="_soft_body_set_collision_mask" qualifiers="virtual required"> |
| 1157 | <return type="void" /> |
| 1158 | <param index="0" name="body" type="RID" /> |
| 1159 | <param index="1" name="mask" type="int" /> |
| 1160 | <description> |
| 1161 | </description> |
| 1162 | </method> |
| 1163 | <method name="_soft_body_set_damping_coefficient" qualifiers="virtual required"> |
| 1164 | <return type="void" /> |
| 1165 | <param index="0" name="body" type="RID" /> |
| 1166 | <param index="1" name="damping_coefficient" type="float" /> |
| 1167 | <description> |
| 1168 | </description> |
| 1169 | </method> |
| 1170 | <method name="_soft_body_set_drag_coefficient" qualifiers="virtual required"> |
| 1171 | <return type="void" /> |
| 1172 | <param index="0" name="body" type="RID" /> |
| 1173 | <param index="1" name="drag_coefficient" type="float" /> |
| 1174 | <description> |
| 1175 | </description> |
| 1176 | </method> |
| 1177 | <method name="_soft_body_set_linear_stiffness" qualifiers="virtual required"> |
| 1178 | <return type="void" /> |
| 1179 | <param index="0" name="body" type="RID" /> |
| 1180 | <param index="1" name="linear_stiffness" type="float" /> |
| 1181 | <description> |
| 1182 | </description> |
| 1183 | </method> |
| 1184 | <method name="_soft_body_set_mesh" qualifiers="virtual required"> |
| 1185 | <return type="void" /> |
| 1186 | <param index="0" name="body" type="RID" /> |
| 1187 | <param index="1" name="mesh" type="RID" /> |
| 1188 | <description> |
| 1189 | </description> |
| 1190 | </method> |
| 1191 | <method name="_soft_body_set_pressure_coefficient" qualifiers="virtual required"> |
| 1192 | <return type="void" /> |
| 1193 | <param index="0" name="body" type="RID" /> |
| 1194 | <param index="1" name="pressure_coefficient" type="float" /> |
| 1195 | <description> |
| 1196 | </description> |
| 1197 | </method> |
| 1198 | <method name="_soft_body_set_ray_pickable" qualifiers="virtual required"> |
| 1199 | <return type="void" /> |
| 1200 | <param index="0" name="body" type="RID" /> |
| 1201 | <param index="1" name="enable" type="bool" /> |
| 1202 | <description> |
| 1203 | </description> |
| 1204 | </method> |
| 1205 | <method name="_soft_body_set_shrinking_factor" qualifiers="virtual required"> |
| 1206 | <return type="void" /> |
| 1207 | <param index="0" name="body" type="RID" /> |
| 1208 | <param index="1" name="shrinking_factor" type="float" /> |
| 1209 | <description> |
| 1210 | </description> |
| 1211 | </method> |
| 1212 | <method name="_soft_body_set_simulation_precision" qualifiers="virtual required"> |
| 1213 | <return type="void" /> |
| 1214 | <param index="0" name="body" type="RID" /> |
| 1215 | <param index="1" name="simulation_precision" type="int" /> |
| 1216 | <description> |
| 1217 | </description> |
| 1218 | </method> |
| 1219 | <method name="_soft_body_set_space" qualifiers="virtual required"> |
| 1220 | <return type="void" /> |
| 1221 | <param index="0" name="body" type="RID" /> |
| 1222 | <param index="1" name="space" type="RID" /> |
| 1223 | <description> |
| 1224 | </description> |
| 1225 | </method> |
| 1226 | <method name="_soft_body_set_state" qualifiers="virtual required"> |
| 1227 | <return type="void" /> |
| 1228 | <param index="0" name="body" type="RID" /> |
| 1229 | <param index="1" name="state" type="int" enum="PhysicsServer3D.BodyState" /> |
| 1230 | <param index="2" name="variant" type="Variant" /> |
| 1231 | <description> |
| 1232 | </description> |
| 1233 | </method> |
| 1234 | <method name="_soft_body_set_total_mass" qualifiers="virtual required"> |
| 1235 | <return type="void" /> |
| 1236 | <param index="0" name="body" type="RID" /> |
| 1237 | <param index="1" name="total_mass" type="float" /> |
| 1238 | <description> |
| 1239 | </description> |
| 1240 | </method> |
| 1241 | <method name="_soft_body_set_transform" qualifiers="virtual required"> |
| 1242 | <return type="void" /> |
| 1243 | <param index="0" name="body" type="RID" /> |
| 1244 | <param index="1" name="transform" type="Transform3D" /> |
| 1245 | <description> |
| 1246 | </description> |
| 1247 | </method> |
| 1248 | <method name="_soft_body_update_rendering_server" qualifiers="virtual required"> |
| 1249 | <return type="void" /> |
| 1250 | <param index="0" name="body" type="RID" /> |
| 1251 | <param index="1" name="rendering_server_handler" type="PhysicsServer3DRenderingServerHandler" /> |
| 1252 | <description> |
| 1253 | </description> |
| 1254 | </method> |
| 1255 | <method name="_space_create" qualifiers="virtual required"> |
| 1256 | <return type="RID" /> |
| 1257 | <description> |
| 1258 | </description> |
| 1259 | </method> |
| 1260 | <method name="_space_get_contact_count" qualifiers="virtual required const"> |
| 1261 | <return type="int" /> |
| 1262 | <param index="0" name="space" type="RID" /> |
| 1263 | <description> |
| 1264 | </description> |
| 1265 | </method> |
| 1266 | <method name="_space_get_contacts" qualifiers="virtual required const"> |
| 1267 | <return type="PackedVector3Array" /> |
| 1268 | <param index="0" name="space" type="RID" /> |
| 1269 | <description> |
| 1270 | </description> |
| 1271 | </method> |
| 1272 | <method name="_space_get_direct_state" qualifiers="virtual required"> |
| 1273 | <return type="PhysicsDirectSpaceState3D" /> |
| 1274 | <param index="0" name="space" type="RID" /> |
| 1275 | <description> |
| 1276 | </description> |
| 1277 | </method> |
| 1278 | <method name="_space_get_param" qualifiers="virtual required const"> |
| 1279 | <return type="float" /> |
| 1280 | <param index="0" name="space" type="RID" /> |
| 1281 | <param index="1" name="param" type="int" enum="PhysicsServer3D.SpaceParameter" /> |
| 1282 | <description> |
| 1283 | </description> |
| 1284 | </method> |
| 1285 | <method name="_space_is_active" qualifiers="virtual required const"> |
| 1286 | <return type="bool" /> |
| 1287 | <param index="0" name="space" type="RID" /> |
| 1288 | <description> |
| 1289 | </description> |
| 1290 | </method> |
| 1291 | <method name="_space_set_active" qualifiers="virtual required"> |
| 1292 | <return type="void" /> |
| 1293 | <param index="0" name="space" type="RID" /> |
| 1294 | <param index="1" name="active" type="bool" /> |
| 1295 | <description> |
| 1296 | </description> |
| 1297 | </method> |
| 1298 | <method name="_space_set_debug_contacts" qualifiers="virtual required"> |
| 1299 | <return type="void" /> |
| 1300 | <param index="0" name="space" type="RID" /> |
| 1301 | <param index="1" name="max_contacts" type="int" /> |
| 1302 | <description> |
| 1303 | </description> |
| 1304 | </method> |
| 1305 | <method name="_space_set_param" qualifiers="virtual required"> |
| 1306 | <return type="void" /> |
| 1307 | <param index="0" name="space" type="RID" /> |
| 1308 | <param index="1" name="param" type="int" enum="PhysicsServer3D.SpaceParameter" /> |
| 1309 | <param index="2" name="value" type="float" /> |
| 1310 | <description> |
| 1311 | </description> |
| 1312 | </method> |
| 1313 | <method name="_sphere_shape_create" qualifiers="virtual required"> |
| 1314 | <return type="RID" /> |
| 1315 | <description> |
| 1316 | </description> |
| 1317 | </method> |
| 1318 | <method name="_step" qualifiers="virtual required"> |
| 1319 | <return type="void" /> |
| 1320 | <param index="0" name="step" type="float" /> |
| 1321 | <description> |
| 1322 | </description> |
| 1323 | </method> |
| 1324 | <method name="_sync" qualifiers="virtual required"> |
| 1325 | <return type="void" /> |
| 1326 | <description> |
| 1327 | </description> |
| 1328 | </method> |
| 1329 | <method name="_world_boundary_shape_create" qualifiers="virtual required"> |
| 1330 | <return type="RID" /> |
| 1331 | <description> |
| 1332 | </description> |
| 1333 | </method> |
| 1334 | <method name="body_test_motion_is_excluding_body" qualifiers="const"> |
| 1335 | <return type="bool" /> |
| 1336 | <param index="0" name="body" type="RID" /> |
| 1337 | <description> |
| 1338 | </description> |
| 1339 | </method> |
| 1340 | <method name="body_test_motion_is_excluding_object" qualifiers="const"> |
| 1341 | <return type="bool" /> |
| 1342 | <param index="0" name="object" type="int" /> |
| 1343 | <description> |
| 1344 | </description> |
| 1345 | </method> |
| 1346 | </methods> |
| 1347 | </class> |