GMU:Techniken des Virtuellen/Miaomiao Ning: Difference between revisions

From Medien Wiki
No edit summary
Line 47: Line 47:
A test was done, in which the pulse data collected from person is used to control the angle of blocks in Unity.
A test was done, in which the pulse data collected from person is used to control the angle of blocks in Unity.
[https://www.youtube.com/watch?v=RbPW2_f4YVk| Test video:Use pulse sensor in unity3D ]<br>
[https://www.youtube.com/watch?v=RbPW2_f4YVk| Test video:Use pulse sensor in unity3D ]<br>
[[File:connect pulse sensor with Unity.png|left|200px|]]
[[File:connect pulse sensor with Unity.png|left|250px|]]
———Unity script——————————————————————<br>
———Unity script——————————————————————<br>
using System.Collections;<br>
using System.Collections;<br>