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

1.6 KiB

Conform to Signed Distance Field

Menu Path : Force > Conform to Signed Distance Field

The Conform to Signed Distance Field Block attracts particles towards a defined distance field. This is useful for pulling particles towards a specific shape which cannot be easily defined via other force Blocks, and it works best when you use it alongside other forces.

Block compatibility

This Block is compatible with the following Contexts:

Block properties

Input Type Description
Distance Field Texture3D The signed distance field texture to which particles conform.
Field Transform Transform The transform with which to position, scale, or rotate the field.
Attraction Speed Float The speed with which this Block attracts particles towards the signed distance field.
Attraction Force Float Sets the strength of the force that pulls particles towards the signed distance field.
Stick Distance Float The distance at which particles attempt to stick to the signed distance field.
Stick Force Float The strength of the force that keeps particles on the signed distance field.