Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Help with layers, cameras, multiplayer, and animations

Discussion in 'Animation' started by Sillylittlepogger, Nov 21, 2023.

  1. Sillylittlepogger


    Jan 24, 2023
    I am trying to make a game in which you are an fps shooter, and it is gonna be multiplayer. The fun twist to this game is that it will only be coded by CHAT GPT 3.5, and I can only edit the code it produces. I have the movement and basic setup done to where you can have two players(capsules) on separate games on a small platform with basic first-person movement and look capabilities. I now am trying to add a rigged model that all the players except yourself will see, and arms that only you will see, that will carry the gun. Since it is a multiplayer game, and thus uses a single identical prefab for each character, I have no clue how to make a layer that lets you see none of their arms, but can see their bodies, but cant see your bodies, but can see your arms. I am really confused because I don't know what to do from here and I don't think an Arms layer and a Body layer will work, because I want to be able to see other player's bodies but not the arms.
    Any help is greatly appreciated, happy thanks giving,