Houdini 20.5 Nodes APEX nodes

dynamicpath::Evaluate

Evaluates a dynamic path at the given time.

On this page
Since 20.0

Evaluates a dynamic path at the given time, returning the position, velocity, and source time on the path.

Dynamic paths can be layered on top of each other. The patharray input is an array of dynamic paths that is treated like a single layered dynamic path. The base path (the bottom layer) is typically the original motion of the character. In the patharray input, the first element of the array is the base path, the second element is the first layer, the third element is the second layer, and so on.

Higher level layers take precedence over lower layers, so when patharray is evaluated at a given time, the uppermost layer of patharray is returned. This returned layer is the evaluated layer of the path.

For example, consider a dynamic path that has three layers with the following time ranges:

The table below specifies the layer that is returned when patharray is evaluated at a particular time.

Time to evaluate the path

Layer returned (evaluated layer)

2

Base layer

5

Top layer

10

Top layer

18

Middle layer

The output values position, velocity, and sourcetime are the values of the evaluated layer at time.

Inputs

patharray: ApexDynamicPathArray

An input array of dynamic paths, which represents a single dynamic path comprised of many layers.

time: Float

The time at which to evaluate the path.

Outputs

position: Vector3

The position of the path at time.

velocity: Vector3

The velocity of the path at time.

sourcetime: Float

The source time of the path at time. The source time is the time of the original animation.

See also

APEX nodes