Entity::distSquared

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Server-Side
Function

Js.png JavaScript



Function that gets the squared distance between two entities.

JavaScript Syntax
Jslogo.png


Parameters

  • position: Vector3

Syntax

Server-Side
entity.distSquared(entity2.position);


See also