Fix velocity when stuck

This commit is contained in:
Vechro 2019-08-21 20:17:19 +03:00
parent 2ea30a0dfe
commit 3ec1c7e738

View File

@ -257,6 +257,7 @@ impl<'a> System<'a> for Sys {
if attempts == MAX_ATTEMPTS {
pos.0 = old_pos;
vel.0 = Vec3::zero();
break;
}
}