Today we are going to add some code using TypeScript to shoot a ray from the controller to the zombies to see if we hit one. We use the Babylon.js exporter to add the layer between Unity and TypeScript and we use it to export to the web. We end with the code running on Oculus Quest.
If you want to have a look at the code we've created during the tutorial, you can find it here 👉 https://gist.github.com/sorskoot/3103b0dc6953bfeb112b01016e6a6a39
----------------------------------------------
Twitch: https://twitch.tv/sorskoot (Monday/Thursday 21:00CET)
Twitter: https://twitter.com/sorskoot
WebXR Discord: https://discord.gg/Jt5tfaM
Download
0 formats
No download links available.
Building WebVR using TypeScript with Unity3D and Babylon.js | NatokHD