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
var yaw = angle_util.getAngles(entity)[0]; var pitch = angle_util.getAngles(entity)[1];
Last updated 4 years ago
Was this helpful?