Difference between revisions of "Talk:Trigonometry Functions"

424 bytes removed ,  10:05, 10 May 2006
→‎Arcsine, Arccosine, and Arctangent: removed accidentally included section
imported>DragoonWraith
imported>DragoonWraith
(→‎Arcsine, Arccosine, and Arctangent: removed accidentally included section)
Line 89: Line 89:
  set CosZ to CosZ * Sign
  set CosZ to CosZ * Sign
  endif
  endif
= Arcsine, Arccosine, and Arctangent =
Sin=Opp/Hyp - The arcsine is the angle between two points, when the distance is the hypotenuse of the triangle and the opposing side is either the x- or the y-difference (whatever is shorter). To get the z-angle (left/right) between two objects in Oblivion you can use the function [[GetHeadingAngle]]. But when you need the x-angle (up/down) you still have to calculate the arcsin.