In-game character model switching, client-side?

My game has a core mechanic which involves changing the player’s model during gameplay. Currently, the client fires a remote and the server then sets the player’s model to whatever was requested, after some simple checks and after setting up the character model. This of course introduces a delay between when the player requests to change their character model and when it’s actually changed on their end. Players with bad internet, or players experiencing a spike in ping, will therefore be impacted in gameplay. However, the look of the player’s character isn’t vital for gameplay (other than what could be different hitboxes), and it would be a shame to introduce that much delay for what is mostly visual.

I’m wondering if it’s possible to change the character model client-side, then fire a remote to the server to tell it to also update it on its end/for other players, or any other way to get rid of the latency? If you have an idea, I’d love to hear it. Thanks!

You can indeed change the character model locally, but you would only be able to control the new character if you have network ownership of it.

If you want to do away with latency entirely, you can dress the player’s character with the desired accessories, body colors, and face, then use a remote to have the server tell other clients to dress that player’s character the same way.

Unfortunately this is complicated by me using custom character models, and some characters having different parts, but this might still be a good lead.

Just spitballing this idea as I can’t exactly test out how it’d perform live, but you could have a folder in ReplicatedStorage which contains a folder of characters for each player that they can swap to as needed. You can just move them in and out of ReplicatedStorage locally and just make sure the server does the same and also assigning network ownership and Player.Character property.

This sounds like a good idea, I’ll try it out. Thank you!