Houdini 20.5 Nodes APEX nodes

dynamicpath::LoadFromArray

Creates a dynamic path from arrays of positions, times, and source times.

On this page
Since 20.0

Creates a dynamic path from an array of positions, the times at which the dynamic path reaches those positions, and the original animation times at those dynamic path times.

Inputs

positions: Vector3Array

An array of positions on the dynamic path at times.

If this array is shorter than the times and sourcetimes arrays, it is extended by repeating the final sample.

If this array is empty, it is filled with vectors at the origin.

times: FloatArray

An array of times at which the dynamic path reaches the positions.

If this array is shorter than the positions and sourcetimes arrays, it is extended using the samplerate.

If this array is empty, the sourcetimes array is used in its place. If sourcetimes is also empty, the first sample is at a time of 0.

sourcetimes: FloatArray

An array of original animation times that correspond to the dynamic path times.

If this array is shorter than the positions and times arrays, it is extended using the samplerate.

If this array is empty, the times array is used in its place. If times is also empty, the first sample is at a source time of 0. The source times should be monotonically non-decreasing.

samplerate: Float

A rate, in frames per second, at which to extend the times and sourcetimes arrays.

Outputs

path: ApexDynamicPath

A dynamic path created from the input arrays.

See also

APEX nodes