Skip to content

JarosLucky/ents.FindInBoxRotated

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Function ents.FindInBoxRotated

This finds the entity in the rotated box.
Like ents.FindInBox but rotated =)
Created for Garry's mod (GMod) in Lua (GLua)

Arguments

Vector - Box center,
Angle - Box rotate,
Vector - Box min,
Vector - Box max,

Result

Return a table of all found entities. Has a limit of 1024 entities.

Performance

About 2 times slower than ents.FindInBox and slightly slower than ents.FindInSphere.

Thanks

Nak - for the description of the function made in 2016

About

This finds the entity in the rotated box. For GMOD

Resources

License

Stars

Watchers

Forks

Contributors

Languages