lib.point.sim.PointSimulation - tooll3/t3 GitHub Wiki

PointSimulation

in lib.point.sim


Creates a simulation buffer for applying simulation-like force fields, curl noise, or flocking simulation. It initially creates a copy of the connected source point buffer. You can then reset to this initial state or constantly blend towards this original state. This can be very helpful to "mix in" a valid state and thus keep a simulation under control.

The mix-in factor controls how much of the original state is being restored:

  • 0: The simulation runs completely free.
  • 0.03: A small percentage is constantly mixed into the simulation, thus avoiding too extreme deviations.
  • 1: Equivalent to resetting to the source.

For experimental effects, you can use mix values exceeding the range between 0 and 1.

Also see: [ParticleSystem] [SimulateBoidsExample], [HowToUsePoints].


Input Parameters

Name (Relevancy & Type) Description
GPoints (BufferWithViewsRequired) -
MixOriginal (Single) -
Reset (Boolean) -
Update (Boolean) -
MinCapacity (Int32) -

Outputs

Name Type
OutBuffer T3.Core.DataTypes.BufferWithViews

Please help use to improve this documentation. Feel free to improve the description.

⚠ Everything else is automatically generated and will be overwritten regularly.

⚠️ **GitHub.com Fallback** ⚠️