Angle Untility

Method

Parameters

Type

Description

getAngles

Entity

float[]

Returns yaw and pitch angles to an entity

getYawToPoint

double;double

float

Returns the yaw angle to a point

Example

var yaw = angle_util.getAngles(entity)[0];
var pitch = angle_util.getAngles(entity)[1];

Last updated