A function included in the GECK version 188.8.131.52.
When given degrees returns the cosine of a given angle.
set x to player.GetAngle X cos x ;will return the cosine of x degrees cos x 1 ;will return the arccosine of x in degrees – note the optional 1 indicating arc-.
- Sin, cos, tan, pow, log, and abs (particularly pow and log) are extremely slow. Do not use them in script blocks that get executed every frame.
- This function is new in the GECK, and was not available in the TES4 Construction Set. However, it was available through the OBSE script extender.