Jump to content
Sign in to follow this  
patis

Can use solver on moving geometry?

Recommended Posts

Hello, I want to delete alembic cubes when collide box.

But using solver to write attributes, The alembic couldn't move.. (I know the reason that is read looping for the first frame..)

Anything way to avoid this? Thank you :)

2021-02-23_17h47_30.gif

ToOdforce.7z

Share this post


Link to post
Share on other sites

The reason the cubes won't move inside the solver is because the 'Prev_Frame' Dop Import doesn't reference the actual previous frame, like a timeshift with $F-1 would do, it references the output(!) of the solver from the previous frame. Which means that you have to output 'Input_1' and copy the attributes from 'Prev_Frame' in your case.

movingobject_dl.hipnc

Share this post


Link to post
Share on other sites
5 hours ago, dleonhardt said:

キューブがソルバー内で移動しない理由は、 'Prev_Frame' Dop Importが実際の前のフレームを参照しないためです。たとえば、$ F-1のタイムシフトのように、ソルバーの出力(!)を参照します。前のフレーム。つまり、「Input_1」を出力し、「Prev_Frame」から属性をコピーする必要があります。

Movingobject_dl.hipnc

Wow....! Thank you for great detail :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×