Available since Version 1.0.
The Engine.VectorUtil table provides utility functions for working with vectors.
Variables
This table does not have any variables.
Methods
| Function Name | Description |
|---|---|
| Engine.VectorUtil.GetDistance2D | Returns the distance between two points in 2D space. |
| Engine.VectorUtil.WithinDistance | Returns true if the distance between two points is less than or equal to a specified distance. |
| Engine.VectorUtil.InSphere | Returns true if a point is inside a sphere. |
| Engine.VectorUtil.InCircle | Returns true if a point is inside a circle. |
| Engine.VectorUtil.InBox | Returns true if a point is inside a box. |
| Engine.VectorUtil.InArea | Returns true if a point is inside a specified area. |