csharp
public sealed class CollideSphereNodeA ball particles bounce off, seen from outside.
As a graph node
- Create menu
- Vfx/Update/Collide Sphere
Remarks
⚠ Solid and outward-facing. Keeping particles inside a sphere is a different operation rather than a flag on this one, and the opcode set does not have it — see CollideSphere.
Fields and properties (5)
public Float3 CentreWhere the sphere is.
public Scalar RadiusHow big it is.
public Scalar BounceHow much of the approach comes back.
public Scalar FrictionHow much of the slide is lost.
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