change sector height detection to raycast method
Opened this issue · 0 comments
jmickle66666666 commented
Currently thing starting heights are all accounted for when building the level, which involves a bunch of calculations and can be unreliable in some specific scenarios.
If the vertical bounds of the map are stored, a quick raycast from the top down vertically will give an accurate height of a sector at a specific point. This should be more reliable and quicker.