Skip to content

Commit

Permalink
Fixed physics reset leaving some state.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Sweet committed Nov 12, 2023
1 parent 1c3eaaf commit c290699
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public void update (Physics physics) {
bone.a *= s;
bone.c *= s;
}
if (physics == Physics.update) {
if (physics != Physics.pose) {
tx = l * bone.a;
ty = l * bone.c;
}
Expand Down

0 comments on commit c290699

Please sign in to comment.