Share

Time functions and Vector expressions

Time functions and Vector expressions

The following table provide a list of time function expressions.

TIMETOSECONDSDescription
PurposeConverts time to a number of seconds.
Syntaxtimetosecond(number)Number is the time code that you want to convert to seconds.

Vector expressions

The following tables provide a list of vector expressions.

ACCELERATIONDescription
PurposeReturns the acceleration of a position vector.
Syntaxacceleration(vector)Vector is a vector that represents a position in 3D space.
ANGLEDescription
PurposeFinds the angle between the arguments.
Syntaxangle(vector1,vector2)Vector1 is a vector. Vector2 is a vector.
DETERMINANT VECTORDescription
ReturnsThe determinant of a 3x3 column (I,J,K) matrix.
Syntaxdeterminantvec
DOT PRODUCTDescription
PurposeScalar product of the arguments. Returns the scalar product of vector1 and vector2.
Syntaxvector1^vector2
SCALE DAMPINGDescription
ReturnsDamping to a scaling vector. (Includes a Play Mode in-connector.)
Syntaxscaledamping
SCALE OFFSET VECTORDescription
PurposeScales and offsets a vector.
Syntaxscaleoffsetvec
* (NUMBER*VECTOR)Description
PurposeScales a vector.
* (VECTOR*NUMBER)Description
PurposeScales a vector.

Was this information helpful?