GMU:Tutorials/Networking/Controlling the Camera in Unity with The Captury: Difference between revisions

From Medien Wiki
No edit summary
No edit summary
Line 42: Line 42:
this code is for camera, then create a gameobject, this gameobject is the cube, the capture system will send the position of the root bone to the cube, then the script will make the camera follow the cube.
this code is for camera, then create a gameobject, this gameobject is the cube, the capture system will send the position of the root bone to the cube, then the script will make the camera follow the cube.


[[File:code.png]]
[[Image:code.png|thumb|left|400px]]