Time functions and Vector expressions
Time functions and Vector expressions
The following table provide a list of time function expressions.
| TIMETOSECONDS | Description |
|---|
| Purpose | Converts time to a number of seconds. |
| Syntax | timetosecond(number)Number is the time code that you want to convert to seconds. |
Vector expressions
The following tables provide a list of vector expressions.
| ACCELERATION | Description |
|---|
| Purpose | Returns the acceleration of a position vector. |
| Syntax | acceleration(vector)Vector is a vector that represents a position in 3D space. |
| ANGLE | Description |
|---|
| Purpose | Finds the angle between the arguments. |
| Syntax | angle(vector1,vector2)Vector1 is a vector. Vector2 is a vector. |
| DETERMINANT VECTOR | Description |
|---|
| Returns | The determinant of a 3x3 column (I,J,K) matrix. |
| Syntax | determinantvec |
| DOT PRODUCT | Description |
|---|
| Purpose | Scalar product of the arguments. Returns the scalar product of vector1 and vector2. |
| Syntax | vector1^vector2 |
| SCALE DAMPING | Description |
|---|
| Returns | Damping to a scaling vector. (Includes a Play Mode in-connector.) |
| Syntax | scaledamping |
| SCALE OFFSET VECTOR | Description |
|---|
| Purpose | Scales and offsets a vector. |
| Syntax | scaleoffsetvec |
| * (NUMBER*VECTOR) | Description |
|---|
| Purpose | Scales a vector. |
| * (VECTOR*NUMBER) | Description |
|---|
| Purpose | Scales a vector. |