Jump to content
TiMc

preserve groups in sops

Recommended Posts

Hello guys,

Ive come across a slight problem which I was hoping someone may be able to help with.

I have a sphere animated along a path. I need to use the sphere as a bounding object to group other points.

However, once a point has been grouped, I need it to remain in that group even once it falls outside of the sphere, almost like the preserve group option in pops.

Does anyone know how you would essentially append points to a group in sops and preserve the points that have already been grouped?

Im not too sure if Im being a bit dumb because it seems like it should be a simple thing to do.

Any help would be greatly appreciated.

Thanks a lot.

Tim

Share this post


Link to post
Share on other sites
If you want history in time, the best thing to is to use POPs.

you basically need a "feedback" loop to lookup what happend on the previous frame, which is what dynamics do (DOPS, and POPS). You could create a sop solver in DOPs.

Share this post


Link to post
Share on other sites

Ok guys,

Thanks for your input. I didnt know if there was a way to do this directly in sops but it does seems so.

Thanks again.

Share this post


Link to post
Share on other sites

Here is one way to do it (CHOPs). It is flexible because you can control the falloff of the bounding object and the falloff of grouping if needed.

Update: Added an object that follows a path, both externally and internally in SOPs.

keepPointsInGroup.hipnc

Edited by Ole

Share this post


Link to post
Share on other sites

That is awesome yeshi!

Do you have any more files like this?

(its the first time I've ever seen the script sop used!)

an uncomely solve, use the global variables,

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

×