Point Affector
Generate array of 3D points interpolating between two values based on the distance.
Node Data | |
---|---|
3DArray | |
Display name | |
Point Affector | |
Internal name | |
Node_3D_Point_Affector | |
Inheritances | |
node | |
node_processor | |
node_3d | |
node_3d_object | |
node_3d_point_affector | |
Inputs | |
node_3d_object | |
vec3 |
Position |
quaternion |
Rotation |
vec3 |
Scale |
vec3 |
Anchor |
node_3d_point_affector | |
vec3 |
Points |
vec3 |
Initial Value |
vec3 |
Final Value |
float |
Falloff Distance |
curve |
Falloff Curve |
enum |
Shape |
Outputs | |
node_3d_point_affector | |
float |
Output |
Point affector modify array of points by calculating each of it's proximity to an affector.
This node takes 3 arrays of the same size: Points, Initial value and Final value.
For each point, it calculate the proximity to an affector, and use that value to blend between the initial and final value of the same index.
Preview
Point affector comes with 3D controller which allows you to modify the affector in 3D space.
Affectors
Point affector comes with 2 types of affectors: Sphere and Plane.
Sphere
Sphere affector influent points based on the distance from the point and the center.
Note that the affector always use uniform scale, if the scale aren't uniform, then the largest value will be used.
The affector size is affected by 2 properties, scale and falloff distance.
Plane
Plane affector influent points based on the distance from the point and the affector plane.
Falloff
You can modify how the value transition when it's near the affector using the falloff properties.