How do i add character rotation in a multiplayer game

https://playcanvas.com/editor/scene/1558062
how do i add character rotation to another online player real time

Hi @Riply_Sus,

You will have to network that angle (y axis). Send it together with the positron message.

When it is received, apply it to the remote character entity.

1 Like

is there any tutorials that can help me or example of that being used in a game

Hi @Riply_Sus! Below a custom project based on the multiplayer example project, where I added the rotation in the network.js script.

https://playcanvas.com/project/827020/overview/custom-multiplayer

4 Likes