2
$\begingroup$

I'm making an animated flag model for beamng.drive, and the flag animation doesn't loop when going from frame 150 to 0, and I want it to be smooth.

A short video showing the problem.

enter image description here

File:

$\endgroup$
12

1 Answer 1

2
$\begingroup$

So in the tutorial you link he uses cloth physics for the flag simulation, then he makes bones follow the vertices of the flag, and at last he bakes the bones this way:

  • Select all the bones in Pose mode, go in the header menu > Pose > Animation > Bake Action:

enter image description here

  • In the pop-up panel, enable Only Selected bones, Visual Keying, Clear Constraints options, it will save all the bones positions and delete their constraints:

enter image description here

  • Now all the movements have been baked to individual keyframes:

enter image description here

  • Delete the flag Cloth physics:

enter image description here

  • Now you still need to make the animation loop correctly, so copy the first keyframe and paste it just after the last frame (here, frame 51), delete several keyframes before 151 so that it interpolates. Also delete some frames after frame 0 because the beginning seemed not fluid:

enter image description here

  • It works
$\endgroup$
4
  • $\begingroup$ hmm what heppend to me every keyframe after bake disapear,... edit : "did you do in animation tab or layout?" $\endgroup$
    – Andrej
    Commented Oct 23, 2020 at 12:57
  • $\begingroup$ all the keyframes disappear after baking? mmh that's weird, make sure the pop-up settings are the same as mine $\endgroup$
    – moonboots
    Commented Oct 23, 2020 at 13:02
  • $\begingroup$ ok, did it like you say... i did bake it and did remove cloth modifier ... now i need to make next step like you say... ok thats it... i think now its works properly! thanks alot! $\endgroup$
    – Andrej
    Commented Oct 23, 2020 at 13:17
  • $\begingroup$ great then..... ;) $\endgroup$
    – moonboots
    Commented Oct 23, 2020 at 13:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .