summaryrefslogtreecommitdiffstats
path: root/doc/classes/RayCast2D.xml
Commit message (Collapse)AuthorAgeFilesLines
* Add instructions to get shape of `RayCast2D/3D`A Thousand Ships2024-04-071-0/+15
| | | | Adds details on how to get the intersected shape
* RayCast2D and RayCast3D documentation: warn to check is_collidingRicardo Buring2024-03-141-2/+3
|
* Fix several minor class reference issuesskyace652024-01-231-1/+1
|
* Clarified behavior of RayCast objects when get_collision_point() is used ↵CardboardCarl2024-01-211-1/+1
| | | | inside a collision shape
* Grammatical improvements for the RayCast 2D and 3D class references.AcatXIo2023-08-291-3/+3
|
* 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-6/+5
|
* Bump version to 4.1-devRémi Verschelde2023-03-011-1/+1
| | | | Can't stop, won't stop, they said, huh?
* Expose the collider RID in Raycast nodesPaul Joannon2022-08-221-0/+6
| | | | | Create and expose the method `get_collider_rid` in `RayCast2D` and `Raycast3D`. This method returns the `RID` of the first object that the ray intersects, or an empty `RID` if no object is intersecting the fay (i.e. `is_colliding` returns `false`).
* [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-7/+7
|
* 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.
* Improve some method bindings to use specific `Object` subtypesRémi Verschelde2022-01-281-4/+4
| | | | | This was made possible by changes to `VariantCaster` which now make it possible to pass any `Object`-derived type as pointer.
* 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/+4
| | | | | Makes the results consistent for all shape types with options to set the desired behavior.
* doc: Fix style inconsistencies for `[b]Note:[/b]` paragraphsRémi Verschelde2021-10-051-1/+1
| | | | And fix up formatting not supported by makerst.
* Don't generate empty doc sections and reduce code duplicationAaron Franke2021-09-201-2/+0
|
* Uniformize layer names, script methods and documentationPouleyKetchoupp2021-08-121-6/+6
| | | | | | | - 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-40/+20
| | | | | | | | 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-1/+1
|
* doc: Sync classref with current sourceRémi Verschelde2020-09-111-3/+3
| | | | Bind missing enums.
* Rename RayCast's `cast_to` property to `target_position`Hugo Locurcio2020-09-101-3/+3
| | | | | `cast_to` is sometimes mistaken as a method rather than a property. `target_position` makes it more obvious that it's a property.
* Merge pull request #40993 from Calinou/doc-collision-layer-maskRémi Verschelde2020-08-311-1/+1
|\ | | | | Reference the online documentation in collision layer/mask properties
| * Reference the online documentation in collision layer/mask propertiesHugo Locurcio2020-08-031-1/+1
| | | | | | | | See https://github.com/godotengine/godot-docs/pull/3863.
* | 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.)
* Commit other files changed by file_format.shAaron Franke2020-07-131-1/+1
|
* doc: Sync classref with current sourceRémi Verschelde2020-07-031-1/+1
|
* Update docs to version 4.0clayjohn2020-01-311-1/+1
|
* doc: Drop unused 'category' property from headerRémi Verschelde2020-01-261-1/+1
| | | | | | | | | | We already removed it from the online docs with #35132. Currently it can only be "Built-In Types" (Variant types) or "Core" (everything else), which is of limited use. We might also want to consider dropping it from `ClassDB` altogether in Godot 4.0.
* Added link to raycasting tutorial to RayCast/RayCast2DYuri Roubinsky2019-11-071-0/+1
|
* doc: Remove hardcoded default values from descriptionsRémi Verschelde2019-06-301-4/+4
| | | | They are now generated automatically by doctool.
* doc: Add default values to all propertiesRémi Verschelde2019-06-301-6/+6
| | | | Thanks to @bojidar-bg's impressive work in #29380.
* Proofread and improve the whole class referenceHugo Locurcio2019-06-271-3/+5
| | | | | | | | | | | | | - Document a few more properties and methods - Add more information to many classes - Fix lots of typos and gramar mistakes - Use [code] tags for parameters consistently - Use [b] and [i] tags consistently - Put "Warning:" and "Note:" on their own line to be more visible, and make them always bold - Tweak formatting in code examples to be more readable - Use double quotes consistently - Add more links to third-party technologies
* Change "Return" to "Returns" where necessary in XML documentationSean Heffernan2019-05-231-3/+3
| | | | | | | | In many of the XML files it had been noted that when the documentation refers to a return value, both "Return" and "Returns" are used. This has now been fixed to only say "Returns". Fixes #28867
* doc: Drop unused <demos> tagRémi Verschelde2019-04-191-2/+0
|
* doc: Bump version to 3.2Rémi Verschelde2019-04-011-1/+1
|
* [Docs] Remove double-spaces from descriptions, as well a couple other small ↵LikeLakers22018-09-231-1/+1
| | | | fixes
* RayCast2D: Fix reporting old collider after collision endedRémi Verschelde2018-08-301-13/+6
| | | | | | | It now behaves the same as RayCast (3D). Fixed documentation accordingly and documented new configuration options. Supersedes and closes #20567.
* doc: Sync classref with current sourceRémi Verschelde2018-08-291-0/+4
|
* doc: Remove status from hardcoded version stringRémi Verschelde2018-02-271-1/+1
| | | | It has no practical use case and just generates noise for each alpha, beta, etc.
* doc: Update version string in headerRémi Verschelde2018-02-191-1/+1
|
* doc: Sync with current sourceRémi Verschelde2018-01-251-1/+1
| | | | | | Also enhance RigidBody docs as per https://github.com/godotengine/godot-docs/pull/1018 and fix the version tag in all files (not really stable yet, but it makes no sense to hardcode rc3 at this stage).
* Added description to get_collision_mask_bit and set_collision_mask_bit in ↵Anutrix2018-01-181-0/+2
| | | | RayCast2D.xml
* doc: Update version string in XMLRémi Verschelde2018-01-131-1/+1
|
* doc: Remove setters and getters now exposed via properties/membersRémi Verschelde2017-11-241-64/+0
|
* doc: Update header version for 3.0-betaRémi Verschelde2017-11-241-1/+1
|
* doc: Sync classref with current sourceRémi Verschelde2017-11-241-23/+0
|
* doc: Remove revision.module_config from version stringRémi Verschelde2017-11-151-1/+1
| | | | | It is now "3.0-alpha" instead of "3.0.alpha.custom_build{,.mono}", limits unnecessary diffs.
* classref: Sync with current sourceRémi Verschelde2017-10-241-0/+18
| | | | [ci skip]