apply physics to keyframe animation