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

Objects slightly shift position after placement (using InstantTracker) #92

Open
bennofatius opened this issue Jul 25, 2024 · 0 comments

Comments

@bennofatius
Copy link

bennofatius commented Jul 25, 2024

Describe the bug
Doing some basic tests atm placing and picking up shapes using InstantTracker. It does generally work, but I noticed that placed objects don't keep their precise position esp. the more and more wildly I move around my phone. If I shake the phone heavily, it will lose its position completely. Just curious if this is just a known shortcoming of this technology more broadly, or if there are ways to improve this?

To Reproduce
Really just a simple Gatsby/React site using a basic structure such as:

<ZapparCanvas >
                <ZapparCamera onFirstFrame={() => setLoaded(true)} />
                <InstantTracker
                    placementMode={placementMode}
                    placementCameraOffset={[0, 0, -10]}
                >

                    <MyMesh />

                </InstantTracker>

                <directionalLight />

            </ZapparCanvas>

Smartphone (please complete the following information):
Opened my site on an iPhone 14; the described behavior occurred on both Safari and Chrome

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

No branches or pull requests

1 participant