Link Search Menu Expand Document

Write Tangents

PCGEx | Path : Write Tangents

TBD

The Write Tangents node computes and assign custom tangents to path points, with options for tangent math modules, scaling, and handling closed loops.


Paths
Paths which points will have tangents written on
Point Filters
Filter input that let you choose which points get processed.
Paths
Paths with updated tangents attributes

Table of content


The Write Tangents help you compute & write custom tangents on your paths so you can easily build spline from them.

placeholder-wide.jpg

Properties


The index safety property controls how invalid/out of bounds input values are handled.

Safety method  
Ignore Invalid indices will be ignored and won’t be processed further.
Tile Index is tiled (wrapped around) the context’ valid min/max range.
Clamp Index is clamped between the context’ valid min/max range.
Yoyo Index bounces back and forth between the context’ valid min/max range.
Settings
Arrive Name
FVector
Attribute to write the Arrive tangent to.
Leave Name
FVector
Attribute to write the Leave tangent to.
Tangents Modules
Tangents Lets you pick which kind of tangent maths you want to apply to the input paths.
See Available Tangents Modules.
Start Tangents Lets you pick which kind of tangent maths you want to use for the first point of the path.
Will fall back to the default module if left empty.
End Tangents Lets you pick which kind of tangent maths you want to use for the last point of the path.
Will fall back to the default module if left empty.
Arrive Scale
Arrive Scale Type Let you choose to scale the arrive tangents with either a Constant value or an Attribute.
Arrive Scale
(Constant or Attribute)
Value used to scale the arrive tangent with.
Will be broadcasted to FVector.
Leave Scale
Leave Scale Type Let you choose to scale the leave tangents with either a Constant value or an Attribute.
Leave Scale
(Constant or Attribute)
Value used to scale the leave tangent with.
Will be broadcasted to FVector.

Tangents modules


∢ Catmull-Rom

Neighbor-based tangents

∢ From Neighbors

Neighbor-based tangents

∢ From Transform

Transform-based tangents

∢ Zero Tangents

No tangents

∢ Auto Tangents

Neighbor-based tangents