Download

Multiplayer error when getting velocity

Hi
I am trying to read the velocity of the current player and it is working as expected. The velocity is correct for each player. The problem is the log contains an error message but I am not sure what is causing it. I can get rid of the message if I use Get Player Character instead of Controlled pawn. But I under stood that for multiplayer the Controlled Pawn is the correct way to do it.


Check velocity only on server.

Only the client’s Controller is on the Client Machine and only the Server has access to all controllers.
Calling “Get Controller” on a pawn that isn’t yours will result in None/null

Thanks that solved my problem:)