MeleeOverlapQuery
此内容尚不支持你的语言。
Defined in: gameplay/MeleeAttack.ts:155
The only thing a swing asks the physics world. Narrow on purpose: what is in
this space is all physics can answer, and Physics3DQueries satisfies it
without combat depending on the rest of that surface.
Methods
Section titled “Methods”overlapSphere()
Section titled “overlapSphere()”overlapSphere(
centre,radius,layerMask?): readonlyOverlap3DHit[]
Defined in: gameplay/MeleeAttack.ts:156
Parameters
Section titled “Parameters”centre
Section titled “centre”number
number
number
radius
Section titled “radius”number
layerMask?
Section titled “layerMask?”number
Returns
Section titled “Returns”readonly Overlap3DHit[]