Skip to content

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

@bennofatius

Description

@bennofatius

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions