• 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 /
  • Help Room /
This question was closed Apr 26, 2018 at 09:30 AM by tormentoarmagedoom for the following reason:

Does not follow Unity Answers guideline. Asking for solutions without looking by itself

avatar image
0
Question by pranesh-arry · Apr 26, 2018 at 09:21 AM · rendering

How to render objects differently in multiplayer mode

So here is the problem, I want to make a multiplayer game, in which the player will have model for his hand and body separately, the other players will be able to see the body of the player and the player can only see his hands, many people will tell it to so in layers, but it is not possible because lets say, I have a Player A which can see his hands but not his body, and there is a Player B, but the player B will now only see Player A's hands, not his body. Please Post a Solution ASAP

Comment
Add comment · Show 1
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 tormentoarmagedoom · Apr 26, 2018 at 09:28 AM 0
Share

Good day.

Asap you will only get problems. You need to learn how multiplayer projects work. If you are asking this is because you dont understand how to make mumtiplayer projects. Go rear, learn, try try tryand then come back to ask what you dont get, showi g what you tried before coming...

1 Reply

  • Sort: 
avatar image
0

Answer by Hellium · Apr 26, 2018 at 09:28 AM

will tell it to so in layers, but it is not possible

Yes it is.


 1. Create two layers: VisiblePlayerA, and VisiblePlayerB

 2. Create two cameras, one for each player.

     1. CameraPlayerA : Change the Culling mask to see everything but the VisiblePlayerB      2. CameraPlayerB : Change the Culling mask to see everything but the VisiblePlayerA

 3. Put the body of the PlayerA into the VisiblePlayerB layer, and the hands in the Default layer

 4. Put the body of the PlayerB into the VisiblePlayerA layer, and the hands in the Default layer

Thanks to this, all the players will see the hands of each others, PlayerA will see the body of PlayerB but not its own body, while PlayerB will see the body of PlayerA but not its own body.

Comment
Add comment · 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

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

142 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Problem with excessive shake when animating 2D content 0 Answers

Shadow rendering distance HTML5 1 Answer

Sprites in 3D space, wrong draw order? 1 Answer

Replace the camera's depth field view with another camera's view ? 0 Answers

Look at the images and tell the solution 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges