Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-12-16 | Fix regression 70154 caused by my prior CCD fix. | Geekotron | |
At high velocities `from - motion *.1` is *behind the RB* - not within its collider as the comment suggested - so it could not be used for determining movement length | |||
2022-12-13 | Fix Physics3D and Physics2D CCD sometimes adjusting velocity too much ↵ | Geekotron | |
(preventing collision) or not enough (allowing tunneling) | |||
2022-12-07 | Merge pull request #69674 from rburing/conStraint | Rémi Verschelde | |
Fix typo in physics step: contraint -> constraint | |||
2022-12-06 | Fix typo in physics step: contraint -> constraint | 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-08 | Remove duplicate project settings definitions | kobewi | |
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-29 | Use `constexpr` in the conditions with template parameters and `sizeof`s to ↵ | bruvzg | |
suppress C4127 warnings. | |||
2022-09-28 | Merge pull request #66548 from akien-mga/msvc-warnings-c4701-c4703 | Rémi Verschelde | |
Fix MSVC warnings C4701 and C4703: Potentially uninitialized variable used | |||
2022-09-28 | Fix MSVC warnings C4701 and C4703: Potentially uninitialized variable used | Rémi Verschelde | |
2022-09-28 | Fix MSVC warning C4702: unreachable code | Rémi Verschelde | |
Part of #66537. | |||
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-14 | Merge pull request #65048 from rburing/solve_static_world_boundary_motion_2d | Rémi Verschelde | |
2022-09-02 | Add `is_zero_approx` methods to `Vector2`, `3`, and `4` | Jonathan Nicholl | |
2022-08-29 | Fix collision solving between world boundary and shapes in motion (2D) | 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-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-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-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-03 | Merge pull request #60627 from aaronfranke/rename-elements | Rémi Verschelde | |
Rename Transform2D and Basis `elements` to `columns` and `rows` respectively | |||
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-29 | Rename Transform2D "elements" to "columns" | Aaron Franke | |
2022-04-20 | Fix more issues found by cppcheck. | bruvzg | |
2022-04-06 | Fix some issues found by cppcheck. | bruvzg | |
2022-03-23 | Add protective checks for invalid handle use in BVH | lawnjelly | |
Adds DEV_ASSERTS that will halt at runtime if the BVH is misused with invalid IDs, and adds ERR_FAIL macros to prevent calling with invalid IDs. Any such misuse is a bug in the physics, but this should flag any errors quickly. | |||
2022-03-20 | Raycasts hitting from inside: return collision point in global coordinates | Ricardo Buring | |
2022-03-16 | PinJoint2D: fix inertia tensor, taking center of mass into account | Ricardo Buring | |
2022-03-06 | [4.x] BVH - Fix area-area collision regression | lawnjelly | |
Minimal approach to fixing regression whereby static areas where not detect dynamic areas. | |||
2022-03-04 | Merge pull request #57630 from lawnjelly/bvh4_templated_checks | Rémi Verschelde | |
[4.x] BVH - Sync BVH with 3.x | |||
2022-02-18 | In final phase of test_body_motion, move and cull AABB for body once, ↵ | Ricardo Buring | |
instead of for every shape | |||
2022-02-16 | Style: Cleanup single-line blocks, semicolons, dead code | Rémi Verschelde | |
Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported. | |||
2022-02-04 | BVH - Sync BVH with 3.x | lawnjelly | |
Templated mask checks and generic NUM_TREES Fix leaking leaves | |||
2022-01-03 | Update copyright statements to 2022 | Rémi Verschelde | |
Happy new year to the wonderful Godot community! | |||
2021-12-10 | Merge pull request #55736 from nekomatata/physics-apply-forces | Camille Mohr-Daurat | |
Improve RigidDynamicBody force and torque API | |||
2021-12-10 | Merge pull request #55773 from nekomatata/fix-raycast-ccd | Camille Mohr-Daurat | |
Fix rigid body ray cast CCD in 2D and 3D Godot Physics |