Can't you simply increase your broadphase size to fit your whole terrain? hkpWorldCinfo::m_broadPhaseWorldAabb.
As for a paginated height field, this might be necessary if your heightfield is so big that memory is a concern. Havok Support has recommended to me in the past to break up a, say 2049x2049 heightfield into perhaps an 8x8 "patchwork quilt" of smaller 257x257 heightfields. These can be added/removed individually as fixed rigid bodies, so you can just have a few loaded at a time.



Paginated hkpSampledHeightFieldShape ?
Hello,
I am playing with the sampled height field and it's working nice for a small terrain.
However, I now want to try to expand my small world to a bigger one.
If the initial size of the height field is too big, it goes out of the broadphase and is removed.
Is there any way to make a paginated height field while moving the broadphase when the camera is moving
so that you only have a small part of the big world inside the broadphase but without having the "outside of broadphase exception" (that will remove the terrain ...) ?
I read the "optimizing the broadphase" section in documentation, but it only talk about mesh and not height field.
Would it be better to preprocess the heigh field and transform it into chunks of mesh ?
Thanks,
Regards