Jump to content

Simulation inside a loop


Recommended Posts

Hi, I have multiple RBD object that are simulated. I would like to cache them separately for the entire timeline since each object doesn't affect the others.

I've been thinking to put everything inside a foreach loop but the issue is where should I put the filecache. If I put it outside the foreach calculates every object frame by frame and not object by object as I would. If I put the filecache inside the loop I don't know how to run it for every iteration.

Any suggestions on how can I do that?

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...