summaryrefslogtreecommitdiffstats
path: root/servers/physics_3d/godot_area_3d.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move Godot Physics 3D into a module; add dummy 3D physics serverRicardo Buring2024-09-211-346/+0
| | | | | | | | | | | | If the module is enabled (default), 3D physics works as it did before. If the module is disabled and no other 3D physics server is registered (via a module or GDExtension), then we fall back to a dummy implementation which effectively disables 3D physics functionality (and a warning is printed). The dummy 3D physics server can also be selected explicitly, in which case no warning is printed.
* Merge pull request #83003 from AThousandShips/null_check_extraRémi Verschelde2023-10-091-1/+1
|\ | | | | | | Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
| * Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-10-081-1/+1
| |
* | Fixes to allow object-less callables throughout GodotMai Lavelle2023-10-061-12/+0
|/ | | | This fixes #81887
* Replace Area gravity point distance scale with unit distanceAaron Franke2023-01-291-10/+10
|
* Remove deprecated AREA_PARAM_GRAVITY_POINT_ATTENUATIONAaron Franke2023-01-291-5/+0
|
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-071-3/+3
| | | | change warnings=all to use /W4.
* Add area monitor callback error checkingRyan Heath2022-08-071-0/+8
|
* Remove Signal connect bindsJuan Linietsky2022-07-291-2/+2
| | | | | Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
* Replace most uses of Map by HashMapreduz2022-05-161-22/+26
| | | | | | | | | | | | * Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* Add area to moved list when changing monitorable,Marcel Admiraal2021-11-201-0/+1
| | | | and only remove area from query when deleting pair if it was monitorable.
* Separate space override modes for gravity/damping in AreaPouleyKetchoupp2021-11-091-4/+19
| | | | Also make inspector clearer for gravity point properties.
* Use `Callable` in Area monitor callbackrafallus2021-11-011-66/+64
|
* Rename Godot Physics classes from *SW to Godot*PouleyKetchoupp2021-10-181-0/+337
Also moved MT physics server wrappers to the main servers folder, since they don't have to be implementation specific.