summaryrefslogtreecommitdiffstats
path: root/servers/extensions
Commit message (Collapse)AuthorAgeFilesLines
* Fix copyright headers referring to GodotSpartan3222024-10-274-8/+8
|
* Rebrand preambles to RedotDubhghlas McLaughlin2024-10-114-0/+8
| | | | | | | | | | | | | | | | | | | | | | Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* Merge pull request #93311 from dsnopek/gdextension-required-virtualsRémi Verschelde2024-09-272-44/+44
|\ | | | | | | GDExtension: Mark virtual function as `is_required` in `extension_api.json`
| * GDExtension: Mark virtual function as `is_required` in `extension_api.json`David Snopek2024-09-112-44/+44
| | | | | | | | Co-authored-by: Jovan Gerodetti <jovan.gerodetti@titannano.de>
* | SCons: Add unobtrusive type hints in SCons filesThaddeus Crews2024-09-251-0/+1
|/
* Disable all 3D nodes, physics, and resources when compiling without 3DAaron Franke2024-03-111-1/+4
|
* Update PinJoint2D API with angle limits and motor speedDragos Daian2023-09-262-0/+6
| | | | | | add enabled methods for motor and angular limits use correct name to get joint update copyright
* Extract ScriptInstance to simplify includesYuri Sizov2023-09-061-1/+0
| | | | | | | | | This allows to include script_instance.h directly in the generated gdvirtual.gen.inc, and remove excessive includes from the codebase. This should also allow Resource to use GDVIRTUAL macros, which wasn't possible previously due to a circular dependency.
* Merge pull request #76051 from rburing/contact_local_velocity_2dRémi Verschelde2023-04-172-0/+2
|\ | | | | | | PhysicsDirectBodyState2D: add `get_contact_local_velocity_at_position`
| * PhysicsDirectBodyState2D: add get_contact_local_velocity_at_positionRicardo Buring2023-04-142-0/+2
| |
* | Resolved issues with script PhysicsDirectBodyState3d contactsTim Gift2023-04-122-0/+2
|/ | | | Resolved a problem with PhysicsDirectBodyState3D sometimes returning incorrect contact positions and added a new get_contact_local_velocity_at_position method to compliment the existing one for the collider.
* Merge pull request #74707 from mihe/recovery-as-collisionRémi Verschelde2023-03-102-3/+3
|\ | | | | | | Add `recovery_as_collision` to extension binding of `_body_test_motion`
| * Add `recovery_as_collision` to extension binding of `_body_test_motion`Mikael Hermansson2023-03-102-3/+3
| |
* | Add `pick_ray` parameter to extension binding of `intersect_ray`Mikael Hermansson2023-03-022-3/+3
|/
* Merge pull request #70707 from mihe/bind-physics-excludeRémi Verschelde2023-01-112-0/+10
|\ | | | | Bind methods related to physics query exclusions
| * Bind methods related to physics query exclusionsMikael Hermansson2022-12-292-0/+10
| |
* | Add get_contact_impulse method to PhysicsDirectBodyState2DRicardo Buring2023-01-102-0/+2
| | | | | | | | This makes it consistent with 3D.
* | Merge pull request #70281 from CherrySodaPop/get-impulse-3dRémi Verschelde2023-01-081-1/+1
|\ \ | | | | | | | | | Implement collision impulse in Godot Physics 3D
| * | Implement collision impulse in Godot Physics 3DLily Garcia2023-01-071-1/+1
| | |
* | | One Copyright Update to rule them allRémi Verschelde2023-01-054-116/+116
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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".
* | Bind methods related to disabling collision between joint bodiesMikael Hermansson2022-12-231-0/+3
|/
* Rename all gdnative occurences to gdextensionGilles Roudière2022-12-122-16/+16
| | | | | | | | | | | | | Non-exhaustive list of case-sensitive renames: GDExtension -> GDNative GDNATIVE -> GDEXTENSION gdextension -> gdnative ExtensionExtension ->Extension (for where there was GDNativeExtension) EXTENSION_EXTENSION ->EXTENSION (for where there was GDNATIVE_EXTENSION) gdnlib -> gdextension gdn_interface -> gde_interface gdni -> gde_interface
* Bind PhysicsDirectBodyState3D::get_inverse_inertia_tensorMikael Hermansson2022-10-051-0/+1
|
* Add `area_get_collision_layer` and `area_get_collision_mask`Mansur Isaev2022-09-254-2/+14
|
* PhysicsServer2D and PhysicsServer3D: make body_set_state_sync_callback take ↵Ricardo Buring2022-09-154-29/+4
| | | | | | a Callable Prefer Callable to a C-style callback. This is helpful for GDExtension.
* PhysicsServer2DExtension and PhysicsServer3DExtension: bind all methods (really)Ricardo Buring2022-09-094-39/+161
|
* Bind all methods in PhysicsServer2DExtension, PhysicsServer3DExtensionRicardo Buring2022-09-073-1/+17
|
* Create GDExtension classes for PhysicsServer2DRicardo Buring2022-09-042-0/+756
| | | | | This allows a 2D physics server created entirely from GDExtension. Based on the structure of PhysicsServer3DExtension by reduz.
* Add collision weight to PhysicsBody for penetrations must be avoidedSilc Renew2022-08-182-0/+6
| | | | Co-authored-by: Juan Linietsky <reduzio@gmail.com>
* Code quality: Fix header guards consistencyRémi Verschelde2022-07-251-1/+1
| | | | | Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
* Add a new HashSet templatereduz2022-05-202-6/+6
| | | | | * Intended to replace RBSet in most cases. * Optimized for iteration speed
* Replace most uses of Map by HashMapreduz2022-05-162-6/+6
| | | | | | | | | | | | * 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!
* Zero initialize all pointer class and struct membersRémi Verschelde2022-04-041-1/+1
| | | | | This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr.
* Fix typos with codespellRémi Verschelde2022-03-311-2/+2
| | | | | | Using codespell 2.2-dev from current git. Fix a couple incorrect uses of gendered pronouns.
* Add GDExtension support to Scriptreduz2022-03-273-99/+1
| | | | | | | | | * Ability to create script languages from GDExtension * Some additions to gdnative_extension.h to make this happen * Moved the GDExtension binder to core This now allows creating scripting languages from GDExtension, with the same ease as if it was a module. It replaces the old PluginScript from Godot 3.x. Warning: GodotCPP will need to be updated to support this (it may be a bit of work as ScriptInstance needs to be created over there again).
* Create GDExtension clases for PhysicsServer3Dreduz2022-03-154-0/+975
* Allows creating a GDExtension based 3D Physics Server (for Bullet, PhysX, etc. support) * Some changes on native struct binding for PhysicsServer This allows a 3D Physics server created entirely from GDExtension. Once it works, the idea is to port the 2D one to it.