Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
the5souls's avatar
the5souls
Protege
9 years ago
Solved

UPDATE: Getting the Touch haptics to activate? SOLVED

Hi, all. I've been scouring the web all day for Touch haptic examples in Unity, but it's been difficult finding any beginner-level example scripts. Here's what I have roughly in "MyGunScript" that ...
  • the5souls's avatar
    9 years ago
    So... Today, I learned that the Touch haptics only work if you have the headset actually on your head. I've been Unity testing by holding up my headset with one hand, holding a Touch controller with my other hand, and looking through the Unity play preview window this whole time.

    When I put on the headset, the little sensor inside detects that I'm wearing it, and it finally enables the controller haptics. When it doesn't detect that I'm wearing it, it disables it.

    The script above works fine. I hope this help other beginners like me!

    I'm such a dummy.  :s