Pulga Vortex Force

https://github.com/nortikin/sverchok/assets/14288520/c36e5cee-8557-4e55-ab04-0804c4b7c863

Functionality

https://github.com/nortikin/sverchok/assets/14288520/f92cc57b-295e-486a-b745-d6fb549781a0

This node creates a force to be applied with the Pulga Physics Solver node. The vortex force is defined with a “Line” with Location and Direction. It has three components, rotation around the line, attraction towards the line (Inflow) and a movement in the line direction (Forward).

Input

  • Location: A point of the line.

  • Direction: Direction of the line.

  • Rotation Strength: Multiplier of the rotation force.

  • Inflow Strength: Multiplier of the inflow force (towards the line).

  • Forward Strength: Multiplier of the forward force (in the direction of the line).

  • Max. Distance: Distance under the force will be applied.

  • Decay: How the force will decay with distance. 0= no decay, 1= linear, 2= cubic, 4= quadratic…

Animated params overview:

https://github.com/nortikin/sverchok/assets/14288520/1882814d-93da-418d-af2e-788f7aa4781f

Examples

https://github.com/nortikin/sverchok/assets/14288520/bc15cfdd-207c-4f50-8b80-b30c6b12127b