Collision Detection Entities||doc135400

September 20, 2022

Format

 Map:getTouchEntities(min, max, includeDead) 
  • The class to which the function belongs:Map

Description

Returns a list of entity objects that a collision box of the specified size can collide with.


Precautions

  • The content of the object table is an ordered table composed of object instances.

Parameters

Variable name type Description
min Vector3 Minimum coordinates
max Vector3 maximum coordinate
includeDead boolean Does it include death


Value Returned

type Description
table List of collided entity objects