Pulga Obstacle Force

https://github.com/nortikin/sverchok/assets/14288520/d60e18cd-99b0-458c-a06c-9aa3c0580864

Functionality

https://github.com/nortikin/sverchok/assets/14288520/359e71c7-205f-4a71-9a8b-51288765fb38

This node creates a force to be applied with the Pulga Physics Solver node.

Obstacles (meshes) that will collide with the system particles (vertices)

Input

  • Vertices: Vertices of the obstacles.

  • Polygons: Polygons of the obstacles.

    https://github.com/nortikin/sverchok/assets/14288520/58982fee-8fc5-4d1c-9f59-d74a0ce804ce
  • Absorption: Amount of energy that will be absorbed by the obstacle (reducing speed and acceleration). 0 means no absorption and 1 full absorption

    https://github.com/nortikin/sverchok/assets/14288520/6e1dad7e-d2e5-480e-b452-2f279835ee7a

Examples

Grid of vertices colliding with a soft Cylindrical mesh:

https://github.com/nortikin/sverchok/assets/14288520/e1c0bcac-5b33-40c7-bea6-9c25c1b5b647

Grid of vertices colliding with a soft spherical mesh:

https://raw.githubusercontent.com/vicdoval/sverchok/docs_images/images_for_docs/pulga_physics/pulga_obstacle_force/blender_sverchok_pulga_obstacle_force_example_01.png

Trajectories of vertices colliding with a hard spherical mesh.

https://github.com/nortikin/sverchok/assets/14288520/da62baed-63c5-4a67-98b3-41f57f54f8f0 https://github.com/nortikin/sverchok/assets/14288520/e4e95fa6-9b2d-4c6e-8ccc-0e8754cfbac4