Commit Graph

263 Commits

Author SHA1 Message Date
Crozet Sébastien
bde828cdab Fix a bug when applying the parallel axis theorem to the angular inertia matrix is incorrect if the mass is zero. 2020-12-02 11:12:26 +01:00
Crozet Sébastien
2c0872954d Release v0.4.1 2020-12-01 15:15:40 +01:00
Sébastien Crozet
cacee0d2a0 Merge pull request #71 from dimforge/principal_inertia_rename
Rename RigidBodyBuilder::principal_inertia -> principal_angular_inertia for clarity.
2020-12-01 15:14:43 +01:00
Crozet Sébastien
a072d4056a Rename RigidBodyBuilder::principal_inertia -> principal_angular_inertia for clarity. 2020-12-01 15:07:04 +01:00
Crozet Sébastien
29d4814266 Rename CHANHGELOG -> CHANGELOG.md 2020-11-30 16:58:26 +01:00
Crozet Sébastien
52d1160fbf Release v0.4.0 2020-11-30 16:08:35 +01:00
Crozet Sébastien
1ac068b206 Add script to publish the testbed. 2020-11-30 16:08:28 +01:00
Sébastien Crozet
ab7fdb5f4e Merge pull request #70 from dimforge/lock_rotations
Add a more convenient way of locking the rotations (or translations) of a rigid-body
2020-11-30 15:55:54 +01:00
Crozet Sébastien
1e0f76b02c Add a 2D demo for locking rotation. 2020-11-30 15:41:32 +01:00
Crozet Sébastien
715d0fe16e Update the changelog + make the boolean flags more intuitive. 2020-11-30 15:35:36 +01:00
Crozet Sébastien
c3e951f896 Add a simpler to lock the rotation or translation of a dynamic rigid-body. 2020-11-30 15:26:22 +01:00
Crozet Sébastien
c9ac149b17 Add Embark Studio to the gold sponsors list. 2020-11-26 13:48:47 +01:00
Sébastien Crozet
51b7bf9a52 Merge pull request #69 from dimforge/rigid_body_modifications
Track some user-initiated rigid-body modifications
2020-11-26 13:26:07 +01:00
Crozet Sébastien
340f614d32 Restore the previous sleeping pattern. 2020-11-26 12:49:35 +01:00
Crozet Sébastien
391bcf372a Fix collider insertion/removal tracking. 2020-11-26 11:41:54 +01:00
Crozet Sébastien
f293dc6024 Fix bogus collider removal in the broad-phase. 2020-11-26 11:40:59 +01:00
Crozet Sébastien
7541108746 Make the RigidBodyChanges values more readable. 2020-11-25 16:34:43 +01:00
Crozet Sébastien
2d4e14b869 Properly track some user-initiatied rigid-body modifications. 2020-11-25 16:28:49 +01:00
Crozet Sébastien
72eb66425d Add debug demos for rigid-body change tracking. 2020-11-25 15:58:52 +01:00
Sébastien Crozet
bdf2e15fdc Merge pull request #68 from dimforge/read_contacts
Allow access to contact information
2020-11-24 16:54:15 +01:00
Crozet Sébastien
fcafcac66f Fix the testbed. 2020-11-24 16:42:17 +01:00
Crozet Sébastien
d98be2359d Add methods to iterate through all the contact and proximity pairs. 2020-11-24 16:39:09 +01:00
Crozet Sébastien
437748096d Allow retrieving one specific contact pair or proximity pair. 2020-11-24 15:21:27 +01:00
Crozet Sébastien
3379094f5a Minor demos changes. 2020-11-24 15:02:39 +01:00
Crozet Sébastien
dc63c28f56 Fix crash when removing a collider with no graph ID. 2020-11-24 14:57:37 +01:00
Crozet Sébastien
af39ec54d3 Remove the narrow-phase graph indices from the collider.
They are on the narrow-phase now.
2020-11-23 15:56:53 +01:00
Sébastien Crozet
c641114f01 Merge pull request #67 from dimforge/determinism_apple_m1
Fix cross-platform determinism on the Apple M1 processor
2020-11-23 15:52:22 +01:00
Crozet Sébastien
c7ed2c99c1 Heightfield and trimesh demos: ensure the heights are generated deterministically. 2020-11-22 16:36:19 +01:00
Crozet Sébastien
000aad0a3c Fix NaNs in unused WAABB lanes during the creation of the WAABBTree. 2020-11-22 16:35:59 +01:00
Sébastien Crozet
4219bedb8b Merge pull request #66 from yutannihilation/patch-1
Replace build badge on README
2020-11-22 16:10:38 +01:00
Hiroaki Yutani
66cb1f4421 Replace build badge on README
Replace the Travis CI badge with the GitHub Actions CI badge
2020-11-22 23:52:15 +09:00
Sébastien Crozet
8a93515167 Merge pull request #65 from dimforge/testbed-deps-up
Testbed: update the kiss3d, physx, and glam dependencies.
2020-11-22 10:47:11 +01:00
Crozet Sébastien
d701c565b8 Testbed: update the kiss3d, physx, and glam dependencies. 2020-11-22 10:35:49 +01:00
Sébastien Crozet
3b9c312fb3 Merge pull request #64 from dimforge/explicit_wake_up
Add more explicit parameters to wake-up a rigid-body
2020-11-20 17:39:28 +01:00
Crozet Sébastien
11e4ccbe93 Update CHANGELOG. 2020-11-19 18:28:16 +01:00
Crozet Sébastien
5ce3606582 Add explicit wake_up parameter to method setting the position and velocity of a rigid-body. 2020-11-19 18:13:39 +01:00
Crozet Sébastien
49fd861083 Allow a rigid-body to be initialized asleep. 2020-11-19 18:00:43 +01:00
Crozet Sébastien
0d49a80974 Add a parameter to indicate if collider removal should wake-up its parent. 2020-11-19 18:00:43 +01:00
Sébastien Crozet
1b0f39073f Merge pull request #63 from dimforge/testbed_parallel
Fix compilation of the testbed when the parallel feature is enabled.
2020-11-19 16:19:07 +01:00
Crozet Sébastien
6b0058f71f Fix CI. 2020-11-19 16:06:24 +01:00
Crozet Sébastien
8b7ef969a3 CI: add a build of the testbed with the parallel feature enabled. 2020-11-19 15:55:01 +01:00
Crozet Sébastien
dea97fbab0 Fix compilation of the testbed when the parallel feature is enabled. 2020-11-19 15:54:45 +01:00
Sébastien Crozet
e571a0628d Merge pull request #62 from dimforge/salva
Testbed: remove code related to salva and add a plugin system
2020-11-19 15:48:50 +01:00
Crozet Sébastien
49dfe74a1b Remove traces of the fluids feature. 2020-11-19 15:28:45 +01:00
Crozet Sébastien
eef2b591a0 Fix rebase breakage. 2020-11-19 14:56:29 +01:00
Crozet Sébastien
154bc70037 Remove the Salva integration code from rapier + add a plugin system to the testbed. 2020-11-19 13:55:19 +01:00
Crozet Sébastien
c26c3af508 Start integrating salva into rapier. 2020-11-19 13:54:03 +01:00
Sébastien Crozet
3f619d81ff Merge pull request #61 from dimforge/ci
Use environment file to set environment variables.
2020-11-19 12:12:04 +01:00
Crozet Sébastien
889a7e0e2f Use environment file to set environment variables. 2020-11-19 11:18:17 +01:00
Sébastien Crozet
acc3fed119 Merge pull request #34 from robert-hrusecky/rigid_body_wake_params
Add wake_up parameter to rigidbody methods
2020-11-19 11:12:59 +01:00