attempt to generate collider on background thread

This commit is contained in:
2024-05-18 22:46:58 -04:00
parent 7ca1fd33c5
commit bafdf016b9
9 changed files with 110 additions and 56 deletions

View File

@@ -24,7 +24,7 @@ fn deform(
time: Res<Time>,
) {
let mut multi = 0.;
if mouse.pressed(MouseButton::Left) {
if mouse.just_pressed(MouseButton::Left) {
multi = 1.;
} else if mouse.pressed(MouseButton::Right) {
multi = -1.;