Tile - YPhysics - Overlap Sphere Non Alloc – Ylands
Jump to navigation
Jump to search
(Created page with "<!--- THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. --> == Overlap Sphere Non Alloc(Center, Radius, Array fo...") |
No edit summary |
||
Line 18: | Line 18: | ||
'''number''' | '''number''' | ||
=== Availability === | |||
[[Ylands:Tile Availability - Client|Client]], [[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Custom Controller|Custom Controller]] | |||
=== Description === | === Description === |
Revision as of 12:17, 12 November 2021
Overlap Sphere Non Alloc(Center, Radius, Array for results)
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.