- Home /
Hiding model for local player
Hello.
I'm trying to make a simple multiplayer FPS. I set my player model to be on a specific layer and later disabled this layer in my player's camera so the local player only sees the viewmodel (ie. hands with gun). Problem is that it would work pretty good if the game weren't actually multiplayer.
I searched through google but I can't really think of any good tags that would help me in my searching. If anyone could explain to me how would I make it so my local player can only see his viewmodel and other players only see his whole model I'd be very grateful!
Answer by FortisVenaliter · Jul 03, 2015 at 09:22 PM
You need to set the layers dynamically when the player models loads up. Have two layers: one for LocalPlayer that the camera ignores, and one for RemotePlayers that it doesn't.