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

poseBindings are unused #5

Open
sskorol opened this issue Jun 4, 2022 · 3 comments
Open

poseBindings are unused #5

sskorol opened this issue Jun 4, 2022 · 3 comments

Comments

@sskorol
Copy link

sskorol commented Jun 4, 2022

Hi @grassjelly,

I want to control z via keyboard. There are bindings like t/b for that:

t : up (+z)
b : down (-z)

But they are not used. Is there any reason for that?

@grassjelly
Copy link
Member

I did try it before. Although it works, controlling pose with keyboard is not that intuitive compared to a joystick.

@sskorol
Copy link
Author

sskorol commented Jun 5, 2022

@grassjelly but how could it work if the following bindings aren't called anywhere in the code?

        self.poseBindings = {
            'f': (-1, 0, 0, 0),
            'h': (1, 0, 0, 0),
            't': (0, 1, 0, 0),
            'b': (0, -1, 0, 0),
            'r': (0, 0, 1, 0),
            'y': (0, 0, -1, 0),
        }

It obviously means that when your press any of the above - nothing happens.

@grassjelly
Copy link
Member

i removed it already. feel free to edit it to your liking

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