Commit Graph

1086 Commits

Author SHA1 Message Date
rezural
b1d0dc006d cargo fmt 2020-12-24 20:16:11 +11:00
rezural
baccfff4cd reenable self.highlight_hovered_body 2020-12-24 19:17:06 +11:00
rezural
cbe6baced5 remove fixme comments 2020-12-24 19:15:34 +11:00
rezural
bd6e46cdd9 remove event code 2020-12-24 18:32:07 +11:00
rezural
2de41ee5e3 change HarnessPlugin trait to add run_state to the step trait method 2020-12-24 18:31:59 +11:00
rezural
0a0c79a36b remove time & timestep_id from testbed side of things
remove events code
2020-12-24 18:27:17 +11:00
rezural
fbde6847df remove unused physics var 2020-12-24 18:02:19 +11:00
rezural
c56ebcc663 refactor testbed to use harness 2020-12-24 17:58:37 +11:00
Sébastien Crozet
fd3b4801b6 Merge pull request #81 from rezural/harness
Introduce a run harness, to make running salva with rapier easier with headless.
2020-12-22 16:23:41 +01:00
rezural
496f4e3258 remove some commented code 2020-12-21 14:56:05 +11:00
rezural
16720918aa cargo fmt 2020-12-21 04:33:25 +11:00
rezural
be07227e94 add HarnessState to callbacks, move HarnessPlugin to src_testbed/harness/plugin 2020-12-21 04:23:11 +11:00
rezural
315b84a85e add plugins
cargo fmt
2020-12-21 04:23:11 +11:00
rezural
5634c51fe6 example benchmark 2020-12-21 04:23:11 +11:00
rezural
88bddce954 harness
make harness a public mod, make harness.state public
2020-12-21 04:23:11 +11:00
Sébastien Crozet
d7cd20d3e4 Merge pull request #80 from rezural/extract-physics-state
Extract Physics into module, make new public
2020-12-20 15:47:22 +01:00
rezural
b2db9e0a06 cargo fmt 2020-12-20 14:57:33 +11:00
rezural
bcaa1d13e8 extract PhysicsState, PhysicsSnapshot & PhysicsEvents
cargo fmt

changes to make rapier compile
2020-12-20 14:45:59 +11:00
rezural
ff28b90833 make new public on PhysicsState 2020-12-20 14:43:42 +11:00
Crozet Sébastien
2c8e6b29d6 Release v0.4.2 2020-12-02 11:49:49 +01:00
Sébastien Crozet
d9695ca977 Merge pull request #73 from dimforge/mass_props_setter
Add a RigidBody::set_mass_properties method.
2020-12-02 11:48:23 +01:00
Sébastien Crozet
c2b1fa19f8 Merge pull request #72 from dimforge/parallel_axis_inertia_bug
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:26:45 +01:00
Crozet Sébastien
aada91966a Add a RigidBody::set_mass_properties method. 2020-12-02 11:26:20 +01:00
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