World entity support for :box function #2793
Isemenuk27
started this conversation in
Suggestions
Replies: 2 comments 1 reply
-
local MinS, MaxS = game.GetWorld():GetInternalVariable( "m_WorldMins" ), game.GetWorld():GetInternalVariable( "m_WorldMaxs" ) Looks like MaxS height is incorrect, but X and Y are ok. Also tried to get this values with .bsp parser, and they`re same. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Relaying my message from discord: Can you really represent a map as a cube? Also would be better as separate functions rather than adding overhead to the box functions |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Getting maps bounds would be very useful.
add world support for:
entity:boxMax()
entity:boxMin()
entity:boxSize()
entity:boxCenter()
Beta Was this translation helpful? Give feedback.
All reactions