Networked
This page details the usage of the networked component on individual entities in PlayCanvas.
Last updated
Was this helpful?
This page details the usage of the networked component on individual entities in PlayCanvas.
Last updated
Was this helpful?
The Networked plugin allows local updates to certain properties of an entity's components to be sent to other connected avatars.
By adding the Transform component, an entity's position and rotation will be networked across clients.
At this time, Transform does not network the Scale property of the entity.
By adding the Anim component, an entity's animation state will be networked across clients.
In this video, we have created an arena with a floor, four walls and a ball. The networking module has been added to the ball. After publishing and creating the world in VIVERSE, multiple players can join in the environment. The location of the ball is tracked across all player sessions.
To create the arena and ball in the video, you can follow the tutorial. The instructions below can be used to add Networking functionality to the ball or any other entity of your choosing.