Try to use a faster chunk lookup for collision detection, and only fall back to the original for nearby chunks. The collision code takes an AABB and generates a cuboid of checks rather than a cylinder, so at high velocity this can generate a lot of chunk checks.
2.2 KiB
2.2 KiB