Server or client

I have basketball dribble moves where I set a body velocity and play an animation. Should I handle this server side or locally?

Doesn’t matter too much, but keep the animations on the clientside as they are meant to handle that sort of stuff to avoid lag.

1 Like

animating the player should be done on client and animating/moving objects should be done on server

2 Likes

The velocity will replicate automatically to the client because the character’s position is always sent to the server, and will always replicate.

So it really doesn’t matter at this point, it would only matter if he was moving something that did not have NetworkOwnership.

2 Likes