Tile - YPhysics - Overlap Sphere Non Alloc

From Bohemia Interactive Community
Jump to navigation Jump to search

Overlap Sphere Non Alloc(Center, Radius, Array for results)

YlandsTile-847.png

static overlapSphereNonAlloc(center: YVector3, radius: number, results: YEntity[]): number;

Parameters

center

radius

results

Returns

number

Availability

Client, Server, Custom Controller

Description

This instruction will check for colliders in a sphere of a given radius at a given position.

Notes

  • Fills the target, pre-existing array with a list of said colliders.