Jump to content
Dubtronics

Custom attract

Recommended Posts

Hi

I am trying to create a custom attraction tool using popvops. Its a method I learnt doing a houdini course I would like to improve on it but I have been stuck on it forever.  Instead of using a pop attract we are using a popvop to calculate the distance of the particles to a point in space and making them move to this point, if I am using a single point to attract them to its working fine, but what I would like to do is to attract them to multiple points ie a mesh. I have tried using the importpoints but that just makes them go to origin. I would like them to move to the rubber toy.

 

Any advice would be appreciated. I have attached the file and the particle stream I am using to test.

 

Cheers

Particles.72.bgeo.sc

attraction test.hiplc

Edited by Dubtronics

Share this post


Link to post
Share on other sites

I've never tried in VOPs but you can do it pretty quickly with a wrangle using MinPos, Intersect, Distance, etc. 

 

 

 

distance.hiplc

Share this post


Link to post
Share on other sites

Thanks. This is completely different from the process I was trying , good to see a different way.

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

×