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

Instance visibility and metadata. #29

Merged
merged 2 commits into from
May 18, 2024
Merged

Instance visibility and metadata. #29

merged 2 commits into from
May 18, 2024

Conversation

0mdc
Copy link
Owner

@0mdc 0mdc commented May 15, 2024

This changeset adds instance metadata support and object visibility.

Note that Unity reserves the first visibility 8 layers. Therefore, we offset the ones we reserve for Habitat.

Depends on:


In this video, object visibility is set such as each player cannot see themselves in the first-person view.

Notice that the other player's view in the picture-in-picture viewport is correctly handled.

object_properties-2024-05-15_10.45.29.mp4

Without object visibility support:

viewports-2024-05-15_10.21.58.mp4

@0mdc 0mdc force-pushed the 0mdc/object_properties branch from d66fc89 to 10226e1 Compare May 18, 2024 17:18
@0mdc 0mdc merged commit 45f4ee4 into main May 18, 2024
@0mdc 0mdc deleted the 0mdc/object_properties branch May 18, 2024 17:19
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.

2 participants