Bifrost Forum
Welcome to the Bifrost Forum. This is the place for artists using Bifrost to ask and answer questions, browse popular topics, and share knowledge about creating effects procedurally using Bifrost. You can also visit the Bifrost Community on AREA to download an array of ready-to-use graphs, read Bifrost news and updates, and find the latest tutorials.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Particle self attract/force field?

Message 1 of 5
548 Views, 4 Replies

Particle self attract/force field?

I'm trying to simulate particles gravitating towards each other, similar to what you can do with nParticles and their force field attributes. I tried simply getting the particle position and plugging that array into a radial influence. It works but is impractically slow, so I'm trying to find a more efficient solution. If anything a way to cut out the file caches,using those were the only way I could think to get the output particle position in the radial influence without an error.


Message 2 of 5
in reply to: InNeedOfHelp

I don't think the radial influence is meant to be used like this. The way you are using it create 1 radial influence per point, which might cause an overhead.

You should try to use the attract_repulse_influence.

Maxime Jeanmougin - Technical Artist

Join the Bifrost Addicts community on Discord:
Message 3 of 5
in reply to: InNeedOfHelp

Unfortunately attract_repulse_influence wasn't accurate enough for what I was trying to do, although I did eventually find a solution. For anyone who's curious I'll attach the scene file. Inside simulate_particles>solve_particles, I added some nodes to calculate the force of gravity from each particle and then set the particles velocity from that. If there's a more user friendly way to do this, like making a node I can plug into influences or something rather than having to modify the simulate_particles node, I'd love to know about it.

Message 4 of 5
in reply to: InNeedOfHelp

We need to wait get_points_in_radius node from dev team.

I think its hard to impalement desired effect without it

Anton Kalchenko
Message 5 of 5

I hope we dont have to wait too long for some raycast nodes.


Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report