func IsInsideSector(target entity, center Vector3, radius float, cutRadius float, height float, angle float, rotation Vector3) bool
go
Name |
Type |
Description |
Target |
entity |
Target Entity |
Center |
Vector3 |
Specify the center of the mid-section of the sector |
Radius |
Float |
Specify the radius of the mid-section of the sector |
Cut Radius |
Float |
The radius of the section of the sector column that is not to be determined. Using center point as the center, the small sector column area will not be determined, and only the difference between the specified sector column and the small sector column wil |
Height |
Float |
Specifies the height of the fan-shaped column |
Angle |
Float |
The central angle of the section of the sector cylinder to be tested. When it is greater than 360, it is tested as a cylinder. When it is less than 0, the detection area size is 0. |
Rotation |
Vector3 |
Specifies the three-dimensional rotation Euler angle of the fan-shaped cylinder around the center point |
Type |
Description |
Bool |
Determination result |