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

Placing in the air #4961

Open
FluorescentHallucinogen opened this issue Nov 25, 2024 · 3 comments
Open

Placing in the air #4961

FluorescentHallucinogen opened this issue Nov 25, 2024 · 3 comments

Comments

@FluorescentHallucinogen
Copy link
Contributor

Current behavior:

The ar-placement attribute has only 2 possible values: "floor" (default) and "wall".

It's impossible to rotate and leave the model the way user want.

The 3D model is constantly turns bottom down.

The 3D model constantly falls to the floor.

This is only good for large objects like furniture. But it's not very convenient to view small 3D models like a mixer if they always fall on the floor. Users can still view small 3D models by twisting the arm (sometimes into an unnatural position), but as soon as user stops holding the trigger on the controller, the 3D model will fall to the floor.

Expected behavior:

The ar-placement attribute supports a new 3rd possible value: "air".

The 3D model stays exactly in the position (location and rotation) in the air where the user left it.

E.g., kids can leave in the air some 3D model such as a human heart or a complex animated mechanism with gears in their desired position, and they can walk around it and look at it from all sides, including from the bottom.

Related issues:

In this case, the Hit Test API is optional, not required.

See also #4959 and #4960.

@danilokrulj
Copy link

Maybe you could elevate the model in the 3D software? Or increase its Y position through code? (also on iOS there is a built in behaviour to elevate the model by dragging upwards with two fingers)

@FluorescentHallucinogen
Copy link
Contributor Author

I meant viewing 3D models in MR mode on XR headsets like Meta Quest. See video in https://x.com/modelviewer/status/1849483226324349082.

@elalish
Copy link
Collaborator

elalish commented Dec 2, 2024

That sounds reasonable - I might call it "float" instead of "air". Do you want to send a PR?

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

3 participants