Versions Compared
Version | Old Version 2 | New Version 3 |
---|---|---|
Changes made by | ||
Saved on |
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Page Tree | ||||||
---|---|---|---|---|---|---|
|
Cfm tabs page | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
Let’s apply the No-Code Collaboration Sync Components to a real world example. Starting ProjectWe are going to begin with a simple single-player Chess scene. It has pieces and a table. The pieces can be grabbed and moved by the local user. Note: The pieces to not have Physics on them (see: https://cavrnus.atlassian.net/wiki/spaces/CSM/pages/828178434/Sync+Property+Components#Sync-Components-and-Physics). There is also a Reset button which will place all the pieces back to their original positions. Beyond the ability to move pieces there is no special game logic present. Image AddedInitial Cavrnus SetupAs described in the Setup Your Scene guide, we will setup our Scene for Cavrnus using the dropdown button. Image AddedThen, as described in that same page, we will set the Cavrnus Spatial Connector to use our server, Login to our account automatically, and Automatically Join a “Chess” space we created in the web. Image AddedAdd Sync Components to Chess PiecesNext we will simply select all the pieces and Add Component Sync Transform in the Inspector. Image AddedAnd we’re done! That’s it! OK, Let’s Add a Custom Avatar for FunAlright, the Cavrnus Spatial Connector comes with a default Avatar, but if you wanna be a bit fun you can Add a Custom Avatar. In this case we’ve already found a fun 3rd party Floating Orb Avatar. Like in the Developer Guide, we’ll start by just giving it a Sync Transform component, like we did the Chess Pieces. Image AddedThen, in the Cavrnus Spatial Connector, we will set the Remote User Avatar to be this. Image AddedAnd now we’re actually done! Final ProductWith the Sync Transform components added, the Avatars and Chess Pieces will move in a synchronized way for both users. This, combined with Voice and Video, will let you play a chess game with whomever else launches this scene! Image Added |
Cfm tabs page | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
Let’s apply the No-Code Collaboration Sync Components to a real world example. Starting ProjectWe are going to begin with a simple single-player Chess scene. It has pieces and a table. The pieces can be grabbed and moved by the local user. Note: The pieces to not have Physics on them (see: https://cavrnus.atlassian.net/wiki/spaces/CSM/pages/828178434/Sync+Property+Components#Sync-Components-and-Physics). There is also a Reset button which will place all the pieces back to their original positions. Beyond the ability to move pieces there is no special game logic present. Image ModifiedInitial Cavrnus SetupAs described in the Setup Your Scene guide, we will setup our Scene for Cavrnus using the dropdown button. Image ModifiedThen, as described in that same page, we will set the Cavrnus Spatial Connector to use our server, Login to our account automatically, and Automatically Join a “Chess” space we created in the web. Image ModifiedAdd Sync Components to Chess PiecesNext we will simply select all the pieces and Add Component Sync Transform in the Inspector. Image ModifiedAnd we’re done! That’s it! OK, Let’s Add a Custom Avatar for FunAlright, the Cavrnus Spatial Connector comes with a default Avatar, but if you wanna be a bit fun you can Add a Custom Avatar. In this case we’ve already found a fun 3rd party Floating Orb Avatar. Like in the Developer Guide, we’ll start by just giving it a Sync Transform component, like we did the Chess Pieces. Image ModifiedThen, in the Cavrnus Spatial Connector, we will set the Remote User Avatar to be this. Image ModifiedAnd now we’re actually done! Final ProductWith the Sync Transform components added, the Avatars and Chess Pieces will move in a synchronized way for both users. This, combined with Voice and Video, will let you play a chess game with whomever else launches this scene! Image Modified |