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

[XR] Teleportation mesh observable for target update #10158

Merged
merged 4 commits into from
Apr 8, 2021
Merged

[XR] Teleportation mesh observable for target update #10158

merged 4 commits into from
Apr 8, 2021

Conversation

RaananW
Copy link
Member

@RaananW RaananW commented Apr 8, 2021

It is now possible to update the teleportation mesh when its position has updated.
A new observable was added that notifies when the pick info's position is used to update the teleportation target.

It is now also possible to update the lines yourself, while getting the pick info from the hit test.

Using those two methods it is possible to fully control the teleportation mesh and the path to it. If the developer wants to not allow the user to teleport on next they can set skipNextTeleportation to true.

Fixes #9402

@deltakosh deltakosh merged commit 4348b24 into BabylonJS:master Apr 8, 2021
@RaananW RaananW deleted the RaananW/issue9402 branch April 8, 2021 15:36
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

Successfully merging this pull request may close these issues.

WebXR Teleportation Arc Disabled Check
2 participants