Houdini 20.5 Nodes APEX nodes

dynamicpath::ProjectilePathFromPlane

Creates a dynamic path representing the arc of a projectile that is launched between two positions while skimming a height plane.

On this page
Since 20.0

This node takes a gravity vector, the start position and end position of a projectile, and a height plane, and constructs a dynamic path based on the arc of the projectile that skims the height plane.

Inputs

gravity: Vector3

The force of gravity acting on the projectile.

startpos: Vector3

The start position of the projectile.

endpos: Vector3

The end position of the projectile.

planepos: Vector3

The position of the height plane.

planerot: Vector3

The rotation of the height plane represented as a series of Euler angles. A value of (0, 0, 0) indicates that the height plane is parallel to the XZ-plane.

starttime: Float

The time at which the projectile motion starts.

transitionin: Vector2

When layering this dynamic path onto another, transitionin determines the period in seconds before and after the beginning of the projectile motion to smooth the curves together.

transitionout: Vector2

When layering this dynamic path onto another, transitionout determines the period in seconds before and after the end of the projectile motion to smooth the curves together.

shiftbefore: Bool

When layering this dynamic path onto another, shiftbefore determines whether to shift the prior animation so that it ends where this path begins.

shiftafter: Bool

When layering this dynamic path onto another, shiftafter determines whether to shift the remaining animation so that it begins where this path ends.

replaceperiod: Float

When layering this dynamic path onto another, replaceperiod determines the period of the layered path to replace with this motion.

samplerate: Float

The sample rate of the scene. This is only used if roundlife is set to True.

roundlife: Bool

If set to True, the life of the projectile is rounded down to the nearest integer frame according to the samplerate.

Outputs

path: ApexDynamicPath

A dynamic path representing the arc of the projectile.

See also

APEX nodes