Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Akuma_Reiten · Sep 26, 2012 at 10:23 AM · playerinvisibleroomplayers

To make an Invisible room

Ok, I don’t know if this is possible, but if it is it might help me tremendously.

Basically I want to create a normal looking room to put player A into, but if player B is outside the room I want the whole object to be invisible along with the player A. So essentially player B is unaware there is a room and another player in front of them.

Any ideas?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by hvilela · Sep 26, 2012 at 08:10 PM

I'm not sure it I understood your question. It's a multiplayer game? A and B are different players running the game in different places? if yes, all you have to do is disable the renderer component of that object on that game instance.

is that the answer you're looking for?

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Akuma_Reiten · Sep 27, 2012 at 09:09 AM 0
Share

The two players will be in the same scene, but using different game modes.

So one could be inside a truck (Using a separate ‘room’ to give the illusion of being inside the game object), while the other drives it. The trick I'm going for is to keep the two together in one scene so they can affect each other easily (For example if the car hits something the 'interior' area shakes), but unable to see or effect each other.

As far as collisions go I think layers are the way I should go? I just need to work out how to ensure they can’t see each other as well.

avatar image hvilela · Sep 27, 2012 at 12:21 PM 1
Share

But it's a multiplayer game where each player is running the game in his own machine or both in the same one. Sorry, I'm trying to help but there's too much information missing.

avatar image Akuma_Reiten · Sep 27, 2012 at 12:42 PM 0
Share

No worries, I’m just bad at fra$$anonymous$$g my question.

What I’m trying to do is have two game types running at the same time on the same scene. I am ai$$anonymous$$g to make it multiplayer but for now my aim is to have both running in the same scene without physically interacting with each other.

So with only one player they can switch between the driving game mode and the interior game mode. The important feature is that both modes are running regardless which game mode the player is controlling, so for example while in the interior area the vehicle also still exists and can be effected by the game environment (So if you left it running it could fall off a cliff etc).

Apologies if that still doesn’t make much sense, I know it’d be easier to have the two game modes just be different scenes but it’s important for my concept that the vehicle portion always ‘exists’. So to solve this I’m trying to be a little cheeky and lock the interior area on its own layer in the same scene.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

10 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Player invisible on respawn 2 Answers

Remember player position / room translation 3 Answers

Why does the player settings for a project not override previous default resolutions? 0 Answers

How do I make a random player generator? 1 Answer

Network player duplicated when replacing player with a new one 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges