ArcSine (Expression Function Reference)

 
 
 

The Function Trigonometry ArcSine command in the expression editor inserts the token asin( at the insertion point in the editing pane. This token evaluates the arcsine function (the inverse of sine) of an expression. Enter an expression after the opening bracket ( then enter a closing bracket ).

Note that the input argument of the arcsine function should be between -1 and 1. Outside of this range, the arcsine is undefined and the asin token returns 0. The output of the asin token is in degrees.

Example

asin(min(1, max(-1, sphere.kine.local.posy)))

Returns the arcsine of the local Y translation of sphere if it is between -1 and 1. If it is higher, the min function means that it returns asin(1) = 90. If it is lower, the max function means that it returns asin(-1) = -90.