wlewis55.github.io

  • Category: Airpods Pro in First Person
  • Tools: HTML, CSS, Javascript, Bootstrap 5
  • Project date: June - July, 2021

Spatial Audio in a Unity Game

After demoing the HeadphoneMotion API of the Airpdos Pro, I wanted to extend this feature so that it could be used as a game mechanic. I attached the plugin to a first person controller, and modified the plugin to rotate independently of the camera. The video above showcases the Airpods Pro controlling a flashlight that moves with the user's head.

The original code used in this demo comes from Anastasia Devana's Headphone Motion Unity Plugin.