GetAnglesBetweenPoints

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Calculates the X (pitch) and Z (yaw) angles between two given 3D points in space, and outputs the result angles into the 2 specified Script Variables.

Syntax

[help]
GetAnglesBetweenPoints x0:float y0:float z0:float x1:float y1:float z1:float resAngX:ScriptVar resAngZ:ScriptVar

Example

GetAnglesBetweenPoints fInX0 fInY0 fInZ0 fInX1 fInY1 fInZ1 fOutAngX fOutAngZ