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

Lay direction #120

Open
DamienJolly opened this issue Jan 27, 2021 · 4 comments
Open

Lay direction #120

DamienJolly opened this issue Jan 27, 2021 · 4 comments

Comments

@DamienJolly
Copy link

DamienJolly commented Jan 27, 2021

Laying down on beds currently only works on one direction.

https://i.gyazo.com/475a7035e27702db860312ff61c13e8b.png
https://i.gyazo.com/f606d5379882c42f880c32b58aaa0637.png

@welsipieters
Copy link

@DamienJolly Could you provide a minimal reproducible example? Perhaps in the form of a gist containing a storyboard.

@jankuss
Copy link
Owner

jankuss commented Feb 12, 2021

@DamienJolly Valid Directions for the Avatar Lay action appear to be 2 and 4. Those are working for me. What direction are you trying?

@DamienJolly
Copy link
Author

Just checked and 2 and 4 are valid lay rotations but for beds their valid rotations are 2 and 0. I've coded a work around so if the players is laying on a bed with a rotation of 0 it sets it to 4 but this can't be the intended way.

@jankuss
Copy link
Owner

jankuss commented Feb 18, 2021

Ah okay I see. For avatar directions, 0 is basically the mirrored version of 4. So maybe we should just add some logic for that?

  • 0 becomes 4 internally
  • 6 becomes 2 internally

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