06-01-2012, 12:08 AM
Quote:I don't quite get the chunk grabbing you're proposingI could be wrong, but I think MCS stores nearby to players chunks in RAM, right? Why can't we just took those objects' pointers (chunks' pointers) and use their data?
Quote:Only when a mob is within a 16 block distance to any player (plain L1 or euclidean metric, no matter what the blocks are), let them grab the full 32^3Tiny trick: if mob is close make a raycast first, if mob spotted player - then grab bigger area... That's my thought.
And even more: make a pyramid/cone, similar to culling space of camera, and check if mob-player line is inside it. Then raycast and then grab an area.