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

Left thumbstick forward will activate right hand teleport ray #213

Open
msub2 opened this issue Jan 26, 2021 · 1 comment
Open

Left thumbstick forward will activate right hand teleport ray #213

msub2 opened this issue Jan 26, 2021 · 1 comment

Comments

@msub2
Copy link

msub2 commented Jan 26, 2021

Was just messing around with a super basic scene, as seen here:

<html>

<head>
    <title>Hello World (JanusWeb)</title>
    <meta charset="utf-8">
</head>

<body>
    <!--
        <FireBoxRoom>
            <Assets>
            </Assets>
            <Room>
                <Object id="plane" pos="0 0 0" rotation="-90 0 0" col="green" scale="10 10 1" collision_id="plane" lighting="false" />
            </Room>
        </FireBoxRoom>
    -->
    <script src="https://web.janusvr.com/janusweb.js"></script>
    <script>elation.janusweb.init({ url: document.location.href })</script>
</body>

</html>

and I was testing out what controller interactions were already built in. I saw right hand had teleportation by default on thumbstick forward, so I turned on my left controller to check if there was smooth locomotion. However, instead I saw that it seemed to be interpreting left thumbstick forward as a teleport action from the right controller.

@jbaicoianu
Copy link
Owner

Thanks for the bug report! Yup, what you observe is currently correct, there's some work needed with the control mapping system to allow binding separate actions for thumbsticks based on controller handedness, currently the event is bound to both but there's no easy way to tell from the event which hand's controller it came from.

For my own reference, and yours if you're interested:

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

2 participants