Is Inside Box

Physics
Tanto lado del cliente como del usuario
Disponible en PC y móvil

Determine whether the target entity is within the specified cube range

Declaración

func IsInsideBox(target entity, center Vector3, length float, width float, height float, rotation Vector3) bool
go

Parámetros

Entrada

Nombre Tipo Descripción
Target entity Target Entity
Center Vector3 Specify the center point of the cube
Length Float Specify the length of the cube
Width Float Specify the width of the cube
Height Float Specify the height of the cube
Rotation Vector3 Specify the Euler angles for the three-dimensional rotation of a cube around its center point

Regresar

Tipo Descripción
Bool Determination result