Skip to content

Commit

Permalink
Clears trace on teleport.
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumeblanc committed May 20, 2024
1 parent a0520c5 commit 13b085b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions samples/motion_playback/sample_motion_playback.cc
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ class MotionPlaybackSampleApplication : public ozz::sample::Application {
&angular_velocity_);
if (_im_gui->DoButton("Teleport")) {
motion_sampler_.Teleport(ozz::math::Transform::identity());
trace_.clear();
}
}
}
Expand Down

0 comments on commit 13b085b

Please sign in to comment.