Skip to content

Broadpahse not returning expected results #251

Closed Answered by rishavgmr
rishavgmr asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you so much for all the help. So I found the issue was that I was calling aabb_manager->fetchResults(results) after aabb_manager->update(results). I guess that replaces the results that the update call was providing as no voxel had moved, thus no new pairs were created. However, calling aabb_manager->fetchResults(results) after aabb_manager->update() [NOTE the empty function argument], gives the expected output.
This solves the problem.

Tldr: Don't call fetchResults after update(results). Only call fetchResults after update().

Replies: 1 comment 15 replies

Comment options

You must be logged in to vote
15 replies
@rishavgmr
Comment options

@PierreTerdiman
Comment options

@PierreTerdiman
Comment options

@rishavgmr
Comment options

Answer selected by rishavgmr
@PierreTerdiman
Comment options

@rishavgmr
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants