summaryrefslogtreecommitdiffstats
path: root/doc/classes/PhysicsDirectSpaceState2D.xml
Commit message (Collapse)AuthorAgeFilesLines
* 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/+2
|
* Fix collide_shape return typeRicardo Buring2023-03-231-1/+1
| | | | | Fix PhysicsDirectSpaceState3D::_collide_shape return type. Also PhysicsDirectSpaceState2D::_collide_shape.
* Bump version to 4.1-devRémi Verschelde2023-03-011-1/+1
| | | | Can't stop, won't stop, they said, huh?
* Replace Array return types with TypedArray 2kobewi2022-08-231-4/+4
|
* [doc] Use "param" instead of "code" to refer to parameters (4)Andy Maloney2022-08-111-2/+2
|
* Rename the argument tag to param in XML documentationYuri Sizov2022-08-081-9/+9
|
* 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.
* Replace Godot docs URL with `$DOCS_URL` in XML class referenceRémi Verschelde2021-11-151-2/+2
|
* Add raycast options to hit when starting inside / hit back facesPouleyKetchoupp2021-11-101-1/+1
| | | | | Makes the results consistent for all shape types with options to set the desired behavior.
* Use parameter classes instead of arguments for all physics queriesPouleyKetchoupp2021-11-041-40/+10
| | | | | | | | Same as what is already done for shape queries, applied to point and ray queries. Easier to document and more flexible to add more parameters. Also expose intersect_point method to script in 3D. Remove intersect_point_on_canvas in 2D, replaced with a parameter.
* Added collide_shape return type info to PhysicsDirectSpaceState2D docsAnutrix2021-10-291-0/+1
|
* Remove shape metadata from 2D physics serverPouleyKetchoupp2021-09-301-5/+0
| | | | | | Shape metadata was only used to get tile information when colliding with tilemaps. It's not needed anymore since there's an API in tilemap using body ids instead.
* Don't generate empty doc sections and reduce code duplicationAaron Franke2021-09-201-2/+0
|
* Merge pull request #52306 from CinchBlue/masterMax Hilbrunner2021-09-091-1/+2
|\ | | | | Add "Physics intro" docs link for State classes
| * Add "Physics intro" docs link for State classesAustin Tasato2021-09-011-1/+2
| |
* | Harmonize default value for collision mask in ray/shape queriesPouleyKetchoupp2021-08-301-5/+13
|/ | | | | | | | The default mask for queries was 0, 0x7FFFFFFF or 0xFFFFFFFF depending on the cases. Now always using 0xFFFFFFFF (in the form of UINT32_MAX to make it clear) in order to use all layers by default.
* Uniformize layer names, script methods and documentationPouleyKetchoupp2021-08-121-5/+5
| | | | | | | - Back to 1-based layer names to make it clearer in editor UI - Layer bit accessors are renamed to layer value and 1-based too - Uniform errors and documentation in render and physics - Fix a few remaining collision_layer used in place of collision_mask
* doc: Use self-closing tags for `return` and `argument`Rémi Verschelde2021-07-301-64/+32
| | | | | | | | For the time being we don't support writing a description for those, preferring having all details in the method's description. Using self-closing tags saves half the lines, and prevents contributors from thinking that they should write the argument or return documentation there.
* Better format arguments in variant parserMichael Alexsander Silva Dias2021-06-181-3/+3
|
* Fix cast_motion sometimes failingMarcel Admiraal2020-11-271-2/+3
| | | | | | | | | - Fixes Godot physics failing when the cast Shape is inside of, or already colliding with another Shape. - Fixes Bullet physics failing when there is no motion. - Ensures Godot and Bullet physics behave the same. - Updates the documentation to exclude the caveats for the failures and differences.
* Update intersect_point documentation to mention solid shapes.Marcel Admiraal2020-10-151-1/+2
|
* Add link titles for all links in the class referenceHugo Locurcio2020-08-311-1/+1
| | | | | This makes them display in a nicer way in the editor help. (The title will display instead of the full URL.)
* doc: Update classref with node renamesRémi Verschelde2020-03-301-0/+145
A few extra renames for classes which were missed in last week's PRs.