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

Seating_v1 #462

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Seating_v1 #462

wants to merge 7 commits into from

Conversation

pietru2004
Copy link
Contributor

So I was thinking how to make easily seats in XR.
And here is what I thinked of.

#461

@DigitalN8m4r3
Copy link
Contributor

didnt tested this yet but i do wonder about one thing, is it restricting the camera/player from changing the height if the user is seated?

@pietru2004
Copy link
Contributor Author

for now all it does is disable kinematic body and snap player to location
I still need to add process check that if seat is moved it will update player accordingly
as for height you in theory can walk out from seat if you have enough space

update player pos and rot on seat pos and rot change.
added comments
@pietru2004
Copy link
Contributor Author

Also I try to not statically bind player position - I already seen problem that player can't lean on table or over barrier.

@BastiaanOlij
Copy link
Member

In XR Tools 2 we are working with a separate dynamic (for walking around) and static (for seated) rig, we need to build a nice solution for transitioning between the two.

Completely basing the static rig on a disabled player body has a number of issues going forward especially because you're likely to have very different controls and options in seated mode v.s. walking mode.

We're currently not thinking of doing anything in XR Tools 1 for this.

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.

3 participants