summaryrefslogtreecommitdiffstats
path: root/servers/extensions/physics_server_3d_extension.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix copyright headers referring to GodotSpartan3222024-10-271-2/+2
|
* Rebrand preambles to RedotDubhghlas McLaughlin2024-10-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | 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>
* Resolved issues with script PhysicsDirectBodyState3d contactsTim Gift2023-04-121-0/+1
| | | | 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-101-1/+1
|\ | | | | | | 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-101-1/+1
| |
* | Add `pick_ray` parameter to extension binding of `intersect_ray`Mikael Hermansson2023-03-021-1/+1
|/
* Merge pull request #70707 from mihe/bind-physics-excludeRémi Verschelde2023-01-111-0/+5
|\ | | | | Bind methods related to physics query exclusions
| * Bind methods related to physics query exclusionsMikael Hermansson2022-12-291-0/+5
| |
* | 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".
* Bind methods related to disabling collision between joint bodiesMikael Hermansson2022-12-231-0/+3
|
* Bind PhysicsDirectBodyState3D::get_inverse_inertia_tensorMikael Hermansson2022-10-051-0/+1
|
* Add `area_get_collision_layer` and `area_get_collision_mask`Mansur Isaev2022-09-251-0/+3
|
* PhysicsServer2D and PhysicsServer3D: make body_set_state_sync_callback take ↵Ricardo Buring2022-09-151-1/+1
| | | | | | a Callable Prefer Callable to a C-style callback. This is helpful for GDExtension.
* PhysicsServer2DExtension and PhysicsServer3DExtension: bind all methods (really)Ricardo Buring2022-09-091-20/+105
|
* Bind all methods in PhysicsServer2DExtension, PhysicsServer3DExtensionRicardo Buring2022-09-071-0/+8
|
* Add collision weight to PhysicsBody for penetrations must be avoidedSilc Renew2022-08-181-0/+3
| | | | Co-authored-by: Juan Linietsky <reduzio@gmail.com>
* Add a new HashSet templatereduz2022-05-201-3/+3
| | | | | * Intended to replace RBSet in most cases. * Optimized for iteration speed
* Replace most uses of Map by HashMapreduz2022-05-161-3/+3
| | | | | | | | | | | | * 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!
* Create GDExtension clases for PhysicsServer3Dreduz2022-03-151-0/+322
* 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.