Cafe Connection - Velocity By Collision Force And Intersection Awareness In Geometry Nodes

On Sale! by codesignprojects in Modifier Setups


A procedural "collision-avoidence" system example in GeoNodes, utilizing the "Index of Nearest" node to create a particle setup, which reacts and moves effected by an animated object, while avoiding self-intersection.

The file is providing a practical example of such system, kept as simple as possible. Only some nodes are contracted to Node Groups, to keep the node tree readable and easy to analyse and reuse.

HOW DOES IT WORK ?

Essentially, we check the "vector" (direction and distance) to the effector object from each point. Then we move the points in that direction, while simultaneously checking for its nearest neighbor and adjust its velocity (direction and magnitude of movement) accordingly.

The file is optimized for and rendered in Eevee (Render Viewport animation). Of course, you can set up any renderer you wish.

----------------------------------------------------------------------

NOTE

-(Since it is a concept demonstration, it is kept as simple as possible.) The GeoNodes trees are kept clean, the nodes mostly are not contracted into node groups for easier readability and have detailed explanations. You can embellish, refine as you wish.


-In 4.X and above the Collision Node group can be contracted into one nice "Repeat Zone". 

 

----------------------------------------------------------------------


Published 4 months ago
Blender Version 4.0, 3.6
License Creative Commons
Have questions before purchasing?

Contact the Creator with your questions right now.

Login to Message