Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-11-25 | Fixed ccd enabled by default on Bullet bodies | PouleyKetchoupp | |
It was due to main_shape_changed being called two times for each added body. The first time it disables ccd, which sets the internal ccd threshold to be 10000. The second time, it enables ccd again because the internal threshold is > 0. Bodies are now consistently set with a ccd threshold of 0 when ccd is disabled. This was causing crashing asserts in Bullet when adding bodies in some scenarios, in btVector3::normalize(): btAssert(!fuzzyZero()); These crashes will still happen with ccd enabled. | |||
2020-11-16 | Merge pull request #42167 from madmiraal/fix-42108 | Rémi Verschelde | |
Remove the unnecessary sync() and the restrictions it imposes on 3D Physics. | |||
2020-11-07 | Reorganized core/ directory, it was too fatty already | reduz | |
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code | |||
2020-10-18 | Refactor MethodBind to use variadic templates | reduz | |
Removed make_binders and the old style generated binders. | |||
2020-10-15 | Merge pull request #42649 from madmiraal/reapply-41806 | Rémi Verschelde | |
Reapply -Avoid adding margin twice along capsule Y axis | |||
2020-10-13 | Merge pull request #42592 from madmiraal/fix-42567 | Rémi Verschelde | |
Initialise Bullet RigidBody friction to the expected value of 1.0 | |||
2020-10-08 | Reapply -Avoid adding margin twice along capsule Y axis | Marcel Admiraal | |
Co-authored-by: Andrea Catania <info@andreacatania.com> | |||
2020-10-08 | Fixed #41040 in an alternative way now that #39726 is reverted | Andrea Catania | |
2020-10-08 | Revert "Optimized physics object spawn time and optimized shape usage when ↵ | Andrea Catania | |
the shape is not scaled" This reverts commit 7709a8349354b469361ec7e1429af0dc8af80b2a. | |||
2020-10-08 | Revert "- Enhanced the flush mechanism by flushing only needed thing." | Andrea Catania | |
This reverts commit 8d0d6d6921d5dfb398f4ab04e4d3937ab550c4ff. | |||
2020-10-06 | Initialise Bullet RigidBody friction to the expected value of 1.0 | Marcel Admiraal | |
2020-10-02 | Updated getters and setters names for toplevel | Duroxxigar | |
2020-10-02 | Check entire basis column for zero size when unscaling Bullet basis. | Marcel Admiraal | |
2020-09-20 | Merge pull request #41426 from madmiraal/fix-bullet-zero-scale | Rémi Verschelde | |
Check and correct for zero scaling when unscaling Bullet basis. | |||
2020-09-18 | Remove the unnecessary sync() and the restrictions it imposes on 3D Physics. | Marcel Admiraal | |
2020-09-14 | Fix RigidBodyBullet areasWhereIam element shift. | Marcel Admiraal | |
2020-09-06 | Avoid adding margin twice along capsule Y axis | Andrea Catania | |
2020-08-22 | Check and correct for zero scaling when unscaling Bullet basis. | Marcel Admiraal | |
2020-08-05 | Merge pull request #40989 from madmiraal/fix-40739 | Andrea Catania | |
Reload Bullet space override modifier even when RigidBody is inactive. | |||
2020-08-05 | Fixes leak when creating bullet shape | Rafał Mikrut | |
2020-08-03 | Reload Bullet space override modifier even when RigidBody is inactive. | Marcel Admiraal | |
2020-07-27 | Revert "Allow Area2D and 3D mouse events without a collision layer" | Rémi Verschelde | |
This reverts commit 7eebb06b5571437828d8c5099558c303c72cd1f4. | |||
2020-07-27 | Merge pull request #40252 from AndreaCatania/flush | Rémi Verschelde | |
Improved Bullet Physics flush algorithm, Lazy collision filter reload, Shape reload regression fix. | |||
2020-07-27 | - Enhanced the flush mechanism by flushing only needed thing. | Andrea Catania | |
- Flushing Areas before anything else. - Make sure to correctly fetch gravity when the integrate_forces function is used - Lazy reload body when layer and mask changes - Shapes are reloaded just before the physics step starts. - Improved some other parts of the code. - Added override keyword - Using LocalVector | |||
2020-07-24 | Ensure Bullet HeightMapShape3D data width and depth are at least 2. | Marcel Admiraal | |
2020-07-18 | Use difference in position to check whether motion in Bullet is too close | Marcel Admiraal | |
to zero. | |||
2020-07-14 | Fix overlappingObjects vector crash | volzhs | |
use clear_overlaps() instead of clearing overlappingObjects directly | |||
2020-07-12 | Set isScratchedSpaceOverrideModificator to false when removing a | Marcel Admiraal | |
RigidBodyBullet from a space. | |||
2020-07-11 | Merge pull request #40193 from KoBeWi/dem_pikks | Rémi Verschelde | |
Allow Area2D and 3D mouse events without collision layer | |||
2020-07-10 | Add override keywords. | Marcel Admiraal | |
2020-07-10 | Allow Area2D and 3D mouse events without a collision layer | Tomasz Chabora | |
Co-authored-by: madmiraal <madmiraal@users.noreply.github.com> | |||
2020-07-08 | Move Bullet physics query flush from Bullet space pre-tick callback to | Marcel Admiraal | |
Bullet physics flush_queries() as is done in Godot physics, and remove the pre-tick callback. | |||
2020-07-07 | Merge pull request #39726 from AndreaCatania/add_body_impr_physics | Rémi Verschelde | |
Optimized physics object spawn time | |||
2020-07-07 | Merge pull request #39735 from AndreaCatania/bullet_phy_add_api | Rémi Verschelde | |
Added BulletPhysics APIs to return internal objects. | |||
2020-07-06 | Clear a Bullet Area's overlappingObjects vector when removing an area | Marcel Admiraal | |
from a space. | |||
2020-07-02 | Merge pull request #37350 from aaronfranke/force-impulse | Rémi Verschelde | |
Refactor physics force and impulse code to use (force, position) order | |||
2020-06-24 | Added BulletPhysics APIs to return internal objects and fixed a typo. | Andrea Catania | |
2020-06-24 | Optimized physics object spawn time and optimized shape usage when the shape ↵ | Andrea Catania | |
is not scaled | |||
2020-06-22 | Merge pull request #39747 from nekomatata/fix-crash-space-query | Rémi Verschelde | |
Fix crashes with invalid shapes in BulletPhysicsDirectSpaceState queries | |||
2020-06-22 | Fix crashes with invalid shapes in BulletPhysicsDirectSpaceState queries | PouleyKetchoupp | |
2020-06-21 | Merge pull request #34236 from madmiraal/enable-bullet-debug | Rémi Verschelde | |
Enable Bullet DEBUG on debug builds. | |||
2020-06-21 | Check for motion in cast_motion() before doing Bullet convexSweepTest(). | Marcel Admiraal | |
Also ensure that default closest_safe and closest_unsafe values are defined in cast_motion() and before cast_motion() is called. | |||
2020-06-02 | Refactor physics force and impulse code | Aaron Franke | |
2020-05-29 | Merge pull request #39085 from madmiraal/fix-39059 | Rémi Verschelde | |
Correct Bullet's default Area angular damp value. | |||
2020-05-27 | Split `Geometry` singleton into `Geometry2D` and `Geometry3D` | Andrii Doroshenko (Xrayez) | |
Extra `_2d` suffixes are removed from 2D methods accoringly. | |||
2020-05-27 | Correct Bullet's default Area angular damp value. | Marcel Admiraal | |
2020-05-19 | Style: Fix unnecessary semicolons that confused clang-format | Rémi Verschelde | |
2020-05-14 | Style: Enforce braces around if blocks and loops | Rémi Verschelde | |
Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html | |||
2020-05-14 | Style: Enforce separation line between function definitions | Rémi Verschelde | |
I couldn't find a tool that enforces it, so I went the manual route: ``` find -name "thirdparty" -prune \ -o -name "*.cpp" -o -name "*.h" -o -name "*.m" -o -name "*.mm" \ -o -name "*.glsl" > files perl -0777 -pi -e 's/\n}\n([^#])/\n}\n\n\1/g' $(cat files) misc/scripts/fix_style.sh -c ``` This adds a newline after all `}` on the first column, unless they are followed by `#` (typically `#endif`). This leads to having lots of places with two lines between function/class definitions, but clang-format then fixes it as we enforce max one line of separation. This doesn't fix potential occurrences of function definitions which are indented (e.g. for a helper class defined in a .cpp), but it's better than nothing. Also can't be made to run easily on CI/hooks so we'll have to be careful with new code. Part of #33027. | |||
2020-05-14 | Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks | Rémi Verschelde | |
Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027. |