Mathematic Nodes – AnimcurveSpeed

DESCRIPTION


Calculating instant and constant speed of animcurve based on given input time.

ATTRIBUTES

Name: operation (opt)
Type: enum
Default: 1
Note: Specifies type of operation. type could be:

0: no operation – inputCurve value pass through node with no changes.
1: speed – Returns speed of animcurve based on time.

Name: inputCurve (inc)
Type: animCurve
Default:
Note: Specifies input Animcurve.

Tip 1: connect particular “Animcurve.output” to “inputCurve” parameter.
Tip 2: For getting speed on Rotation type Animation Curves, instead of connecting “Animcurve.output”, please connect “Animcurve.message” to “inputCurve” parameters. *

* Tips by David


Name: inputTime (int)
Type: time
Default: 0
Note: Specifies input time. Tip: for computing speed based on Maya global time, connect “time1.outTime” to “inputTime” attribute.

Name: sample (s)
Type: int
Default: 1
Note: Number of samples, for instant speed use 1 and for constant use length of animcurve.

Name: accuracy (ac)
Type: float
Default: 0.1
Note: Accuracy of samples. smaller value will return higher accuracy in cost of performance.

Name: output (out)
Type: float
Default: 0.0
Note: output of computed animcurve Speed.