Force and Torque Inputs as Equations

The input fields for both torque and force can take equations as well as numerical values. These fields take equations in time, parameterized as 't', which can be used to create a wide-range of behavior.

To use force and torque inputs as equations:
Note: Since other parameters are not currently accepted, you must write your equations in terms of t, and not x, y , z, or other fields. Equations use the current simulation time for the value of t.  It may be necessary to offset the 't' in the force and Torque  controller.  For example, if the force/torque has a Start time of 2 seconds, the equation must use 't-2' if the desired force is zero at a time of 2 seconds.
The following table lists the available Math functions:
Method Description
abs(x) Returns the absolute value of x
acos(x) Returns the arccosine of x, in radians
asin(x) Returns the arcsine of x, in radians
atan(x) Returns the arctangent of x as a numeric value between -PI/2 and PI/2 radians
atan2(y, x) Returns the arctangent of the quotient of its arguments
ceil(x) Returns the value of x rounded up to its nearest integer
cos(x) Returns the cosine of x (x is in radians)
exp(x) Returns the value of Ex
floor(x) Returns the value of x rounded down to its nearest integer
log(x) Returns the natural logarithm (base E) of x
max(x, y, z, ..., n) Returns the number with the highest value
min(x, y, z, ..., n) Returns the number with the lowest value
pow(x, y) Returns the value of x to the power of y
random() Returns a random number between 0 and 1
round(x) Returns the value of x rounded to its nearest integer
sin(x) Returns the sine of x (x is in radians)
sqrt(x) Returns the square root of x
tan(x) Returns the tangent of an angle