csharp
public sealed class VortexNodeVelocity turned about an axis, which is what makes a whirl rather than a pile.
As a graph node
- Create menu
- Vfx/Update/Vortex
Remarks
AttractNode's sibling and its opposite failure. A pull towards a point ends with every particle at the point; a turn about an axis never converges, which is what a tornado, a whirlpool or a portal wants. The opcode has shipped since the field set was written and had no node, so the only way to reach it was to build the graph in code.
Fields and properties (5)
public Float3 CentreA point the axis passes through.
public Float3 AxisWhich way the axis points.
public Scalar StrengthHow hard the turn is. Negative turns the other way.
public Scalar RadiusHow far it reaches. Zero reaches everywhere.
public static NodeTypeDefinition DefinitionWhat this node type is, for the registry. Generated.
Methods (2)
protected internal override void Contribute(VfxGraphBuilder builder)Adds whatever this node contributes.
public override void Bind(NodeBinding binding)Fills the port fields from what the compiler resolved. Generated.
Used by (1)
- NodeTypesVixen.Editor.VfxGraph