2 Hours Ago
- Reuse list buffer in water collision checks. - Add shared static accessor to TerrainMeta to access terrain position/size from burst. - Make more buoyancy native arrays persistent, reuse them. (temp job allocs seem a lot heavier than just temp allocs.) - Make GetFlowDirection easier to access from burst, not yet burst compiled - Burst compile GetBuoyancyWaterInfoBatched, temporarily remove deep underwater checks from it, we'll move deep water checks to a different code path. Things seem functional, but only slightly faster than the non batched version. A lot of terrain data access still isn't batched.