Networked
This page details the usage of the networked component on individual entities in PlayCanvas.
Overview
The Networked plugin allows local updates to certain properties of an entity's components to be sent to other connected avatars.

Transform
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.
Anim
By adding the Anim component, an entity's animation state will be networked across clients.
Networking Example
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 Create Your First PlayCanvas Project tutorial. The instructions below can be used to add Networking functionality to the ball or any other entity of your choosing.
Last updated
Was this helpful?