Rasagar/Library/PackageCache/com.unity.visualeffectgraph/Documentation~/Block-ConformToSphere.md
2024-08-26 23:07:20 +03:00

1.3 KiB

Conform to Sphere

Menu Path : Force > Conform to Sphere

The Conform to Sphere Block attracts particles towards a defined sphere. This is useful for a range of cases, such as simulating a “charging” energy effect, and works best when you use it alongside other forces.

This Operator doesn't support spheres that have scale axis of different lengths (ellipsoids). If you use an ellipsoid as an input, this Operator uses its longest axis to define the sphere.

Block compatibility

This Block is compatible with the following Contexts:

Block properties

Input Type Description
Sphere Sphere The sphere the particles conform to.
Attraction Speed Float The speed with which this Block attracts particles towards the surface of the sphere.
Attraction Force Float The strength of the force that pulls particles towards the sphere.
Stick Distance Float The distance at which particles attempt to stick to the sphere.
Stick Force Float The strength of the force that keeps particles on the sphere.