Sébastien Crozet
fe87e2d586
Fix testbed rendering of colliders without parent
2021-10-14 12:14:34 +02:00
Sébastien Crozet
d858ae4c4e
Make the 2D add-remove demo more intereting.
2021-09-12 01:49:09 -07:00
rezural
75a677c58a
clear plugin graphics when examples changed, then clear the plugins vec
2021-07-27 15:09:31 +02:00
rezural
0e1215e4ed
add update_ui to TestbedPlugin
2021-07-08 10:07:42 +02:00
rezural
7c249c873d
enable clear_graphics and run_callbacks agin
...
update plugin signature to recieve bevy structs, add Arc<Mutex<>> around gfx_components, we we can get shared mutable access
add prefab_meshes() access function
Remove Arc<Mutex<>>
2021-07-08 10:07:42 +02:00
Sébastien Crozet
d3d998e91e
Merge pull request #193 from rezural/egui-focus
...
Testbed: check if the egui context wants pointer focus, disable orbit camera if so.
2021-06-02 17:18:35 +02:00
Crozet Sébastien
e0e341214c
Update dependencies
2021-06-02 16:00:23 +02:00
rezural
a49605bd9b
check if the egui context wants pointer focus, disable orbit camera if so. this disables egui interactions being sent to the orbital camera
2021-05-29 13:00:01 +10:00
Crozet Sébastien
1bef66fea9
Add prelude + use vectors for setting linvel/translation in builders
2021-05-25 11:00:13 +02:00
Crozet Sébastien
abb4742758
Fix warnings when compiling tests.
2021-05-17 09:46:07 +02:00
Crozet Sébastien
1a84bf2af3
Replace Kiss3d by Bevy for the testbed renderer.
2021-05-16 17:49:20 +02:00
Crozet Sébastien
c32da78f2a
Split rigid-bodies and colliders into multiple components
2021-04-26 18:00:50 +02:00
Crozet Sébastien
2006919347
Add the ability to pass a custom filter to all the QueryPipeline queries.
2021-04-01 11:02:48 +02:00
Crozet Sébastien
1b073e98b4
Remove the IntegrationParameters field we don't use.
2021-03-31 18:41:02 +02:00
Crozet Sébastien
d2ee642053
CCD: take angular motion and penetration depth into account in various thresholds.
2021-03-30 17:10:50 +02:00
Crozet Sébastien
7306821c46
Attenuate the warmstart impulse for CCD contacts.
...
CCD contacts result in very strong, instantaneous, impulses. So it is preferable to attenuate their contribution to subsequent timesteps to avoid overshooting.
2021-03-28 11:27:07 +02:00
Crozet Sébastien
97157c9423
First working version of non-linear CCD based on single-substep motion-clamping.
2021-03-26 18:16:27 +01:00
Crozet Sébastien
babcab0bed
Update the testbed to use PhysicsHooks.
2021-02-23 15:49:23 +01:00
Crozet Sébastien
e24d73a255
Don't serialize solver contacts + remove erased-serde dependency.
2021-02-08 10:47:58 +01:00
Crozet Sébastien
90db26eb50
Fix warnings in tests and testbed.
2021-01-23 13:34:03 +01:00
Crozet Sébastien
b779eb261e
Fix compilation in 2D.
2021-01-22 16:43:16 +01:00
Crozet Sébastien
99c2184e13
Fix regressions introduced by the merge with master.
2021-01-22 16:33:55 +01:00
Crozet Sébastien
cf52e01308
Merge branch 'master' into split_geom
...
# Conflicts:
# examples2d/sensor2.rs
# examples3d/sensor3.rs
# src/dynamics/integration_parameters.rs
# src/dynamics/solver/parallel_island_solver.rs
# src/dynamics/solver/velocity_constraint.rs
# src/dynamics/solver/velocity_ground_constraint.rs
# src_testbed/nphysics_backend.rs
# src_testbed/physx_backend.rs
# src_testbed/testbed.rs
2021-01-22 16:10:24 +01:00
Crozet Sébastien
261ed1ebed
Fix 2D compilation.
2021-01-06 12:53:26 +01:00
Crozet Sébastien
1e9a962d34
Testbed physx backend: re-add joints.
2021-01-05 17:07:26 +01:00
Crozet Sébastien
00da4aaa42
Add compound shape support.
2021-01-05 15:34:48 +01:00
rezural
34e79e9afc
unify callbacks with & without graphics & window
2021-01-02 16:46:52 +11:00
Crozet Sébastien
7b098606c2
QueryPipeline: add shape casting, point projection, and intersection queries.
2020-12-31 16:30:38 +01:00
Crozet Sébastien
967145a949
Perform contact sorting in the narrow-phase directly.
2020-12-31 11:16:03 +01:00
rezural
ed76291fbf
remove some unused imports
2020-12-31 15:39:44 +11:00
rezural
26af08e03c
add harness_mut() to testbed
2020-12-31 13:25:05 +11:00
rezural
d992ebc488
remove unused use
2020-12-31 13:06:29 +11:00
rezural
d51008903d
remove plugin callback related code from testbed
2020-12-31 12:14:38 +11:00
rezural
47e0ad4425
Update src_testbed/testbed.rs
...
Co-authored-by: Sébastien Crozet <sebastien@crozet.re >
2020-12-31 12:00:33 +11:00
rezural
d75d325b49
remove comment
...
Co-authored-by: Sébastien Crozet <sebastien@crozet.re >
2020-12-31 11:52:24 +11:00
rezural
75c80bff5f
TODO comment update
...
Co-authored-by: Sébastien Crozet <sebastien@crozet.re >
2020-12-31 11:47:02 +11:00
Crozet Sébastien
5876a262da
Remove the useless manifold.data.pair field.
2020-12-30 11:44:08 +01:00
Crozet Sébastien
0fb4b4faef
Use Isometry::inv_mul.
2020-12-29 11:31:59 +01:00
Crozet Sébastien
29717c2887
Externalize the proximity code (renamed intersection).
2020-12-29 11:31:59 +01:00
Crozet Sébastien
9bf1321f8f
Outsource the contact manifold, SAT, and some shapes.
2020-12-29 11:31:00 +01:00
rezural
caf9d71bc7
cargo fmt
2020-12-24 21:45:00 +11:00
rezural
5fce09cb52
rework some threading code with the ui
2020-12-24 21:42:59 +11:00
rezural
31032ab969
remove thread code completely from testbed
2020-12-24 21:28:02 +11:00
rezural
5ffacf0a14
pass run_state instead of time to TestbedPlugin::run_callbacks
2020-12-24 20:56:11 +11:00
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
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