Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-12-13 | Fix Physics3D and Physics2D CCD sometimes adjusting velocity too much ↵ | Geekotron | |
(preventing collision) or not enough (allowing tunneling) | |||
2022-12-11 | Merge pull request #69852 from rburing/heightmap_shape_typo_bugfix | Rémi Verschelde | |
Fix typo bug in heightmap shape | |||
2022-12-10 | Fix typo bug in heightmap shape | Ricardo Buring | |
2022-12-07 | Merge pull request #69674 from rburing/conStraint | Rémi Verschelde | |
Fix typo in physics step: contraint -> constraint | |||
2022-12-06 | Merge pull request #69671 from rburing/cylinder-cylinder_sat_typo | Rémi Verschelde | |
Fix typo in cylinder-cylinder SAT collision solver | |||
2022-12-06 | Fix typo in physics step: contraint -> constraint | Ricardo Buring | |
2022-12-06 | Fix typo in cylinder-cylinder SAT collision solver | Ricardo Buring | |
2022-12-06 | Fix collision detection for degenerate capsules | Ricardo Buring | |
In GodotCapsuleShape3D::get_supports and GodotCapsuleShape2D::get_supports, return a point instead of an edge of length zero in case the capsule degenerates to a sphere or circle. | |||
2022-11-21 | Code simplifications found by cppcheck | Markus Sauermann | |
They are based on: - Boolean arithmetic simplifications - setting variables that are not accessed - constant variables | |||
2022-11-08 | Remove duplicate project settings definitions | kobewi | |
2022-11-02 | Move EulerOrder enum to math_defs.h and global scope | Aaron Franke | |
2022-10-31 | Add safety check for at least 2 nodes and 1 link to ↵ | Mark Riedesel | |
GodotSoftBody3D.reoptimize_link_order() before proceeding. Fixes #61474 | |||
2022-10-27 | Merge pull request #64382 from peastman/support | Clay John | |
Optimized support function for large meshes | |||
2022-10-19 | Fix RigidBody3D inertia calculation | Cykyrios | |
2022-10-18 | Optimized support function for large meshes | Peter Eastman | |
2022-10-13 | Optimize Convex Collision | Juan Linietsky | |
Implements the Gauss Mapping optimization to SAT convex collision test. * Described [here](https://ubm-twvideo01.s3.amazonaws.com/o1/vault/gdc2013/slides/822403Gregorius_Dirk_TheSeparatingAxisTest.pdf) by Dirk Gregorius. * Requires adding of face information to edges in MeshData * Took the chance to convert MeshData to LocalVector for performance. | |||
2022-10-07 | Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵ | bruvzg | |
change warnings=all to use /W4. | |||
2022-10-05 | Merge pull request #66720 from qarmin/unintialized_memory | Rémi Verschelde | |
Remove usage of unitialized variables | |||
2022-10-01 | Remove usage of unitialized variables | Rafał Mikrut | |
2022-09-30 | Fix crash when executing `PhysicsServer2D.joint_clear` | Haoyu Qiu | |
2022-09-28 | Merge pull request #66568 from rburing/cylinder_support_is_dead | Rémi Verschelde | |
`GodotCylinderShape3D::get_supports`: delete dead code | |||
2022-09-28 | GodotCylinderShape3D::get_supports: delete dead code | Ricardo Buring | |
2022-09-28 | Fix MSVC warnings C4701 and C4703: Potentially uninitialized variable used | Rémi Verschelde | |
2022-09-26 | Style: Cleanup header guards for consistency | Rémi Verschelde | |
Fix file names for {Static,Lightmap}RaycasterEmbree. | |||
2022-09-25 | Add `area_get_collision_layer` and `area_get_collision_mask` | Mansur Isaev | |
2022-09-21 | Merge pull request #65828 from rburing/body_state_sync_callable | Rémi Verschelde | |
make `body_set_state_sync_callback` take a `Callable` | |||
2022-09-19 | Warn users when collisions are not supported | fabriceci | |
2022-09-15 | PhysicsServer2D and PhysicsServer3D: make body_set_state_sync_callback take ↵ | Ricardo Buring | |
a Callable Prefer Callable to a C-style callback. This is helpful for GDExtension. | |||
2022-09-02 | Add `is_zero_approx` methods to `Vector2`, `3`, and `4` | Jonathan Nicholl | |
2022-08-27 | Fix collision solving between world boundary and motion shape | Ricardo Buring | |
2022-08-26 | Merge pull request #64367 from Mickeon/rename-var-to-str | Rémi Verschelde | |
Rename `str2var` to `str_to_var` and similar | |||
2022-08-26 | Rename `str2var` to `str_to_var` and similar | Micky | |
Affects the Math class, a good chunk of the audio code, and a lot of other miscellaneous classes, too. - `var2str` -> `var_to_str` - `str2var` -> `str_to_var` - `bytes2var` -> `bytes_to_var` - `bytes2var_with_objects` -> `bytes_to_var_with_objects` - `var2bytes` -> `var_to_bytes` - `var2bytes_with_objects` -> `var_to_bytes_with_objects` - `linear2db` -> `linear_to_db` - `db2linear` -> `db_to_linear` - `deg2rad` -> `deg_to_rad` - `rad2deg` -> `rad_to_deg` - `dict2inst` -> `dict_to_inst` - `inst2dict` -> `inst_to_dict` | |||
2022-08-26 | Restore RigidBody2/3D, SoftBody names in physics | fabriceci | |
2022-08-18 | Add collision weight to PhysicsBody for penetrations must be avoided | Silc Renew | |
Co-authored-by: Juan Linietsky <reduzio@gmail.com> | |||
2022-08-10 | add get_depth() to KinematicCollision3D as same of 2D | Silc Renew | |
2022-08-07 | Add area monitor callback error checking | Ryan Heath | |
2022-07-29 | Remove Signal connect binds | Juan Linietsky | |
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind() | |||
2022-07-25 | Remove ThreadWorkPool, replace by WorkerThreadPool | Juan Linietsky | |
The former needs to be allocated once per usage. The later is shared for all threads, which is more efficient. It can also be better debugged. | |||
2022-07-25 | Code quality: Fix header guards consistency | Rémi Verschelde | |
Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards. | |||
2022-06-20 | Clean up Hash Functions | reduz | |
Clean up and do fixes to hash functions and newly introduced murmur3 hashes in #61934 * Clean up usage of murmur3 * Fixed usages of binary murmur3 on floats (this is invalid) * Changed DJB2 to use xor (which seems to be better) | |||
2022-05-28 | Add a 3D suffix to relevant physics profiler categories | Hugo Locurcio | |
2D physics categories already had a 2D suffix: "Physics 2D" | |||
2022-05-25 | use ERR_FAIL_INDEX when preferred | Nathan Franke | |
2022-05-20 | Add a new HashSet template | reduz | |
* Intended to replace RBSet in most cases. * Optimized for iteration speed | |||
2022-05-19 | Use range iterators for RBSet in most cases | Aaron Record | |
2022-05-18 | Add motion parameter to toggle whether recovery is reported as a collision | Ricardo Buring | |
This makes the intent explicit in each use case. | |||
2022-05-16 | Replace most uses of Map by HashMap | reduz | |
* 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! | |||
2022-05-03 | Rename Basis get_axis to get_column, remove redundant methods | Aaron Franke | |
2022-05-02 | Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init` | Rémi Verschelde | |
Didn't commit all the changes where it wants to initialize a struct with `{}`. Should be reviewed in a separate PR. Option `IgnoreArrays` enabled for now to be conservative, can be disabled to see if it proposes more useful changes. Also fixed manually a handful of other missing initializations / moved some from constructors. | |||
2022-04-06 | Fix some issues found by cppcheck. | bruvzg | |
2022-04-04 | Zero initialize all pointer class and struct members | Rémi Verschelde | |
This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr. |