Fix velocity when stuck

This commit is contained in:
Vechro 2019-08-21 20:17:19 +03:00
parent 08e982fa7c
commit c40e15f070

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;
}
}