compound shape / dynamic AABB tree question
Posted: Wed Jan 04, 2023 12:51 pm
Hi,
This might sound like a terrible question, but I'm not fully sure of the answer.
The compound shape constructor has a "enableDynamicAabbTree" parameter. That tree is used to accelerate early rejection.
In the case all shapes added to a compound shape are static (i.e. not moving), does that AABB tree still help with performance ? I guess it does, I assume "dynamic" means the bounding volume hierarchy is based on a dynamic space partition (vs. its purpose being dynamic children handling), but could anyone confirm this ?
Thanks,
Greg
This might sound like a terrible question, but I'm not fully sure of the answer.
The compound shape constructor has a "enableDynamicAabbTree" parameter. That tree is used to accelerate early rejection.
In the case all shapes added to a compound shape are static (i.e. not moving), does that AABB tree still help with performance ? I guess it does, I assume "dynamic" means the bounding volume hierarchy is based on a dynamic space partition (vs. its purpose being dynamic children handling), but could anyone confirm this ?
Thanks,
Greg