Houdini 20.5 Nodes APEX nodes

dynamicpath::ProjectilePathEvaluatePeak

Determines the peak of a projectile path.

On this page
Since 20.0

This node takes as input a single dynamic path, interprets it as a projectile path, and computes the highest point on the path with respect to the up vector rotation. It returns the position and rotation of the peak, and the time that the peak is reached.

If the input dynamic path is not a projectile path, this node will fail to find the peak. In this case, the following output values are set:

Inputs

path: ApexDynamicPath

A dynamic path generated from dynamicpath::ProjectilePathFromLife, dynamicpath::ProjectilePathFromPlane, or dynamicpath::ProjectilePathFromSpeed. If the dynamic path was not generated from one of these nodes, dynamicpath::ProjectilePathEvaluatePeak will fail to find the peak.

usepositionhint: Bool

If set to False, peakposition is set to the exact position of the peak.

If set to True, peakposition is set to the point on the peak’s height plane that is closest to position (the position hint).

position: Vector3

The position hint to use when usepositionhint is set to True.

rotation: Vector3

The rotation of the up vector.

Outputs

peakposition: Vector3

The position of the peak of the projectile path. If no peak is found:

  • If usepositionhint is set to True, peakposition is set to position.

  • If usepositionhint is set to False, peakposition is set to Vector3(0, 0, 0).

peakrotation: Vector3

A copy of the rotation input.

time: Float

The time at which the projectile reaches the peak of its arc.

See also

APEX nodes