summaryrefslogtreecommitdiffstats
path: root/doc/classes/PhysicsServer3D.xml
Commit message (Collapse)AuthorAgeFilesLines
* Bind `PhysicsServer*D::body_set_state_sync_callback`Mikael Hermansson2024-07-231-0/+11
|
* Bind physics server methods related to shape marginMikael Hermansson2024-05-191-0/+17
|
* Merge pull request #91596 from TheKiromen/improve-body-create-documentationRémi Verschelde2024-05-061-0/+2
|\ | | | | | | Update `body_create` description in PhysicsServer2D/3D
| * Update body_create description in PhysicsServer2D/3DDominik Kruczek2024-05-061-0/+2
| |
* | Update area_create description in PhysicsServer2D/3D to clear up possible ↵Dominik Kruczek2024-05-051-1/+2
|/ | | | confusions
* Document Area3D wind properties only affecting SoftBody3DHugo Locurcio2024-04-101-1/+1
|
* Merge pull request #80166 from rburing/force_integration_docsRémi Verschelde2024-04-081-5/+9
|\ | | | | | | Fix physics server force integration docs
| * Fix force integration documentationRicardo Buring2024-03-161-5/+9
| |
* | Bind constants related to 6DOF jointsRicardo Buring2024-03-241-4/+27
|/ | | | | This makes physics server GDExtensions able to use the enums without workarounds.
* Bind physics server methods related to `SoftBody3D`Mikael Hermansson2024-01-261-0/+252
|
* Validate `code` tags for class and member referencesYuri Sizov2023-10-031-4/+3
| | | | | | | | This commit also adds means to manually disable warnings in `code` tags where it's a false positive with the new `skip-lint` attribute. Warnings are now enabled on CI to prevent future errors.
* Fix some mixups between 2D/3D in documentationNinni Pipping2023-07-231-1/+1
|
* Fix documentation for consistencySeptian2023-07-121-1/+1
|
* Doctool: Remove version attribute from XML headerRémi Verschelde2023-07-061-1/+1
| | | | | | We don't use that info for anything, and it generates unnecessary diffs every time we bump the minor version (and CI failures if we forget to sync some files from opt-in modules (mono, text_server_fb).
* Bump version to 4.2-devRémi Verschelde2023-07-051-1/+1
| | | | Keep on waitin'
* Overhaul the top sections of the class reference (Physics classes)VolTer2023-05-201-2/+9
|
* Improve documentation for Area monitor callbacks in `PhysicsServer3D`Ninni Pipping2023-03-251-6/+14
|
* Bump version to 4.1-devRémi Verschelde2023-03-011-1/+1
| | | | Can't stop, won't stop, they said, huh?
* Replace "dampen" with "damp", "attenuate" in class docsquinnyo2023-02-081-5/+5
|
* Replace Area gravity point distance scale with unit distanceAaron Franke2023-01-291-2/+3
|
* Remove deprecated AREA_PARAM_GRAVITY_POINT_ATTENUATIONAaron Franke2023-01-291-12/+9
|
* Bind methods related to disabling collision between joint bodiesMikael Hermansson2022-12-231-0/+15
|
* Add `area_get_collision_layer` and `area_get_collision_mask`Mansur Isaev2022-09-251-0/+14
|
* Restore RigidBody2/3D, SoftBody names in physicsfabriceci2022-08-261-4/+4
|
* Merge pull request #64343 from TokageItLab/priority-phRémi Verschelde2022-08-221-0/+15
|\
| * Add collision weight to PhysicsBody for penetrations must be avoidedSilc Renew2022-08-181-0/+15
| | | | | | | | Co-authored-by: Juan Linietsky <reduzio@gmail.com>
* | [doc] Fix grammar in class docs: amount vs. numberAndy Maloney2022-08-171-2/+2
|/ | | | | | Number is used for things that can be counted (discrete items - think "integer" in this context). Also fixes a couple of awkward phrases.
* [doc] Use "param" instead of "code" to refer to parameters (4)Andy Maloney2022-08-111-4/+4
|
* Rename the argument tag to param in XML documentationYuri Sizov2022-08-081-242/+242
|
* PhysicsServer3D docs: sync phrasing of get_process_info with 2D docsRicardo Buring2022-03-181-1/+1
|
* Add an XML schema for documentationHugo Locurcio2022-02-151-1/+1
| | | | | | | | This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
* Fix indentations in class reference XMLsHaoyu Qiu2021-12-151-1/+0
|
* Improve RigidDynamicBody force and torque APIPouleyKetchoupp2021-12-101-10/+82
| | | | | | | | | | | | | Makes the API for forces and impulses more flexible, easier to understand and harmonized between 2D and 3D. Rigid bodies now have 3 sets of methods for forces and impulses: -apply_impulse() for impulses (one-shot and time independent) -apply_force() for forces (time dependent) applied for the current step -add_constant_force() for forces that keeps being applied each step Also updated the documentation to clarify the different methods and parameters in rigid body nodes, body direct state and physics servers.
* Add physics solver settings to project settingsPouleyKetchoupp2021-12-071-7/+2
| | | | | | | | | | | | Helps with discovery and setup of physics solver settings, in a specific project settings section for both 2D and 3D. Other changes for cleanup: -Removed unused space parameters in 3D SPACE_PARAM_BODY_ANGULAR_VELOCITY_DAMP_RATIO SPACE_PARAM_CONSTRAINT_DEFAULT_BIAS -Added custom solver bias for Shape3D (same as Shape2D) -Improved documentation for solver settings
* Merge pull request #55602 from nekomatata/improve-rigidbody-contactsRémi Verschelde2021-12-061-14/+12
|\
| * Update space parameters in 2D and 3DPouleyKetchoupp2021-12-031-14/+12
| | | | | | | | | | | | | | | | | | | | | | Clarified space parameters for contacts and added missing ones. List of changes: -Add contact bias to space parameters -Add solver iterations to space parameters, instead of a specific physics server function -Renamed BODY_MAX_ALLOWED_PENETRATION to CONTACT_MAX_ALLOWED_PENETRATION to make it consistent with other contact parameters
* | Fix various misused code tag in classrefHaoyu Qiu2021-12-021-4/+4
|/
* Merge pull request #54810 from nekomatata/area-separate-override-modesCamille Mohr-Daurat2021-11-111-29/+23
|\ | | | | Separate space override modes for gravity/damping in Area
| * Separate space override modes for gravity/damping in AreaPouleyKetchoupp2021-11-091-29/+23
| | | | | | | | Also make inspector clearer for gravity point properties.
* | Fix errors in CharacterBody when floor is destroyed or removedPouleyKetchoupp2021-11-101-1/+1
|/ | | | | | | | | | | | In all physics servers, body_get_direct_state() now silently returns nullptr when the body has been already freed or is removed from space, so the client code can detect this state and invalidate the body rid. In 2D, there is no change in behavior (just no more errors). In 3D, the Bullet server returned a valid direct body state when the body was removed from the physics space, but in this case it didn't make sense to use the information from the body state.
* Expose local center of mass in physics serversPouleyKetchoupp2021-11-081-1/+1
| | | | | | | | | | | | | | | | | | | | Center of mass in body's local space is more useful than the transformed one in some cases, like drawing its position for debug. It's especially useful to get the generated local center of mass when in auto mode (by default). Physics Server BODY_PARAM_CENTER_OF_MASS: Now always returns the local center of mass, instead of setting a local center of mass and getting a transformed one. This causes compatibility breaking, but it makes more sense for the parameter to be consistent between getter and setter. Direct Body State: There are now two properties, because both of them can be useful in different situations. center_of_mass: relative position in global coordinates (same as before) center_of_mass_local: position in local coordinates
* Use `Callable` in Area monitor callbackrafallus2021-11-011-4/+2
|
* Improved RigidDynamicBody linear/angular damping overridePouleyKetchoupp2021-10-251-3/+15
| | | | | | | | | Damping values are now non-negative. Add new properties linear_damp_mode and angular_damp_mode to set the way RigidDynamicBody and PhysicalBone (2D & 3D) use damping values. It can now be Combine (default) to add to the default/areas, or Replace to override the value completely (current behavior).
* Script interface improvements for test body motionPouleyKetchoupp2021-10-041-9/+4
| | | | | | | | | -Physics servers test body motion use a class to hold parameters instead of multiple arguments to make it more readable and flexible since there are many options -Improved documentation for test body motion and kinematic collision -Removed read-only properties for body motion results (not handled in scripts, so they should be get_ methods only instead)
* Merge pull request #52754 from nekomatata/dynamic-body-modesCamille Mohr-Daurat2021-09-281-2/+2
|\ | | | | Clarify RigidDynamicBody modes
| * Clarify RigidDynamicBody modesPouleyKetchoupp2021-09-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | RigidDynamicBody modes are replaced with several properties to make their usage clearer: -lock_rotation: disable body's rotation (instead of MODE_LOCKED) -freeze: no gravity or forces (instead of MODE_STATIC and MODE_KINEMATIC) -freeze_mode: Static (can be only teleported) or Kinematic (can be animated) Also renamed MODE_DYNAMIC_LOCKED to MODE_DYNAMIC_LINEAR in the physics servers.
* | Improved logic for CharacterBody collision recovery depthPouleyKetchoupp2021-09-271-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows 2D character controller to work without applying gravity when touching the ground (also more safely in 3D), and collision detection is more flexible with different safe margin values. Character body motion changes in 2D and 3D: -Recovery only for depth > min contact depth to help with collision detection consistency (rest info could be lost if recovery was too much) -Adaptive min contact depth (based on margin) instead of space parameter Extra CharacterBody changes: -2D: apply changes made in 3D for stop on slope and floor snap that help fixing some jittering cases -3D: fix minor inconsistencies in stop on slope and floor snap logic
* | Port 2D improvement to move and slide 3Dfabriceci2021-09-221-0/+1
|/ | | | Co-authored-by: Camille Mohr-Daurat <pouleyketchoup@gmail.com>
* Merge pull request #52681 from nekomatata/rename-rigid-bodyCamille Mohr-Daurat2021-09-161-1/+1
|\ | | | | Rename RigidBody to RigidDynamicBody and SoftBody to SoftDynamicBody
| * Rename RigidBody to RigidDynamicBody and SoftBody to SoftDynamicBodyPouleyKetchoupp2021-09-161-1/+1
| |