Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trackedEntity doesn't follow moving entity if it has a "box" geometry #8800

Closed
461255824 opened this issue Apr 26, 2020 · 3 comments
Closed

Comments

@461255824
Copy link

if i use SampledPositionProperty and entity has box, when trackedEntity, the viwer can't fllow the entity center

@OmarShehata
Copy link
Contributor

Was able to reproduce by adding a box entity to the truck in this time dynamic wheels Sandcastle.

@OmarShehata OmarShehata changed the title trackedEntity error when use entity.box and SampledPositionProperty trackedEntity doesn't follow moving entity if it has a "box" geometry Apr 26, 2020
@mramato
Copy link
Contributor

mramato commented Apr 27, 2020

This seems to be a problem with all geometry in general, not just position based geometry. Debugging points to the problem is that the primitive is never "ready" therefore we can never get it's bounding sphere for zoom purposes. This is most likely an order of operations issue where we are getting the bounding sphere before the primitive update happens (since it's all supposed to be synchronous).

This has probably been broken for quite while and no one noticed. The fix should hopefully be simple, but we have to dig in and figure out where the root of the problem is.

@hpinkos
Copy link
Contributor

hpinkos commented Apr 28, 2020

Duplicate #5164

@461255824 I've added a comment to #5164 so we can notify you when it's fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants