Methods
Static overlapBlockNonAlloc
-
Parameters
Returns number
Static overlapCapsule
-
Parameters
-
-
height: number
-
radius: number
-
Static overlapCapsuleNonAlloc
- overlapCapsuleNonAlloc(center: YVector3, height: number, radius: number, rotation: YVector3, results: YEntity[]): number
-
Parameters
-
-
height: number
-
radius: number
-
-
Returns number
Static overlapSphereNonAlloc
- overlapSphereNonAlloc(center: YVector3, radius: number, results: YEntity[]): number
-
Parameters
Returns number
Static raycastTerrain
- raycastTerrain(origin: YVector3, direction: YVector3, maxDistance: number, onGroundHit: (hitPosition: YVector3, hitNormal: YVector3) => void, onMissed: () => void): void
-
Parameters
-
-
-
maxDistance: number
-
onGroundHit: (hitPosition: YVector3, hitNormal: YVector3) => void
-
onMissed: () => void
Returns void
This instruction will check for colliders in a block of a given dimensions at a given position with a given rotation.