In this article, we will use Playmaker to attach an object to the controller so that the player can use it.
Finally, we have installed a setting that allows you to play while holding the 3D model, as shown below.
It may be a little hard to understand, but the 3D model is attached to the controller of STYLY so that it can be operated.
Download Playmaker here.
You should install PlayMaker, a plugin for Unity, beforehand.
If you are new to using PlayMaker, please read the following articles to get a better understanding.
Once installed, open the Playmaker Editor and store it on the screen.
The procedure for attaching a 3D model to the controller is as follows
- Prepare a 3D model.
- Attaching a 3D model to a STYLY controller
Prepare a 3D model
Right-click in Hierarchy and create a Cube, set the Scale to (0.05, 0.05, 0.05).
Attaching a 3D model to a STYLY controller
The same procedure is described in the article below, so please refer to it.
It is recommended that you do not attach an object to both controllers, as attaching an object will prevent Ray from appearing, and you will not be able to return to the Home screen within the STYLY VR APP.
Uploading to STYLY
Let us pre-fabricate your object and upload it to STYLY.
For more information on how to upload, please click here.
You can check the operation here.