Is Inside Cylinder

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

Determine whether the target entity is within the specified cylindrical range. If the entity has no position attribute, it will return false.

Declaración

func IsInsideCylinder(target entity, center Vector3, radius 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 cylinder
Radius Float Specify the cross-sectional radius of the cylinder
Height Float Specify the height of the cylinder
Rotation Vector3 Specify the three-dimensional rotation Euler angle of the cylinder around the center point

Regresar

Tipo Descripción
Bool Determination result