π€ask-a-question
πΌjobs-and-opportunities
πΎsample-code
π₯project-showcase
πfeature-request
β¨normcore
π¬chat
π§wip-and-updates
Strategies for updating clients when the normcore realtime models have changed?
Does normcore support screen sharing for WebGL?
No definition when trying to access DidChange callback
playerstatesDidChange
event in your GameStateModel
. This event is typically generated when you set the last argument of the RealtimeProperty
attribute to true
, which you have done. However, it seems like the event is not being generated for your RealtimeDictionary
.
The issue might be related to the use of RealtimeDictionary
with the RealtimeProperty
attribute. In the provided knowledge sources, the examples of RealtimeProperty
usage are with primitive types like Color
and string
, not with RealtimeDictionary
.
...Realtime Avatar manager avatars count issue.
avatars
count. The DidConnectToRoom
event is fired as soon as the connection to the room is established, but it doesn't necessarily mean that all the avatars have been instantiated and registered with the RealtimeAvatarManager
at that point.
The RealtimeAvatarManager
keeps track of all avatars in the room via the localAvatar
and avatars
properties. The avatars
property is a dictionary of all RealtimeAvatar
components stored under the clientID
that the avatar belongs to. This is useful for determining how many players are currently in a multiplayer space. However, the avatars might not be instantiated immediately upon connection.
...Play animations at runtime
VR Avatar hands reference
Store list of player states
Can't see other player
How to create a full body IK avatar?
Syncing Sounds?
Are model value updates all received at the same time?
position
, rotation
, and scale
. If I set all 3 of these at once, could I consistently expect that they would all be received at the same time?...List of all events generated by the main normcore scripts?
Reliably Updating Player Count in Room
Video Stream?
CreateAudioInputStream()
API. This API returns an AudioInputStream
that can be used to send audio data to all clients. Once called, all clients will be able to retrieve a corresponding AudioOutputStream
object using the GetAudioOutputStream()
API along with the clientID
and streamID
from the AudioInputStream
object.
As for video streaming, Normcore's new MediaStream API is now available in private preview for Normcore Private customers. If you would like to use video streaming in your Normcore Private app, you should get in touch with your account manager for more information.
...Button press on one client
What happens if two different Realtime instances connect to the same room at the same time??