Velocity From Positions

Pure
VelocityFromPositions

Calculates velocity from two positions and the time between them.

Type: Pure (no side effects)
Category: Fortuna|Vector & Transform
Keywords: vector & transform

Inputs

NameTypeDefaultDescription
PreviousPositionFVectorPreviousPosition parameter
CurrentPositionFVectorCurrentPosition parameter
DeltaTimefloatDeltaTime parameter

Outputs

NameTypeDescription
ReturnValueFVectorReturnValue output

Example Use Cases

Example 1

Estimate the velocity of a hand-tracked controller for throwing physics.

Example 2

Determine projectile launch speed from gesture motion.