Modifying updateAabbs for contactTest

snoisius
Posts: 6
Joined: Mon Oct 01, 2012 12:44 pm

Modifying updateAabbs for contactTest

Post by snoisius »

Hi,

I'm using contactTest to query if an object collides. In order for contactTest to work, I have to call updateAabbs, but it is very slow.
Which parts of updateSingleAabb (or its subfunctions) can I skip for better performance such that my btDbvt::collideTV will still work and trigger my contactTest callback?

I think I actually just need the tree structure, such that btDbvt::collideTV reaches all my objects and can call btSingleContactCallback::Process on them.

Thank you!

Patrick