WISH YOU HAD A PORTAL GUN? Learn how to make your own in VR!

play_circle_outline Posted on Last updated

WISH YOU HAD A PORTAL GUN? Learn how to make your own in VR!

A while back I saw a really cool type of portal gun on Reddit where items go in one portal and out the other for the HTC Vive (https://gfycat.com/PartialJubilantAfricanpiedkingfisher). Pretty simple to implement, but oh is it ever so satisfying to wield. In this tutorial for SteamVR, we will show you how to simply move objects from one hand to another while maintaining velocity, how to write a neat ripple shader that creates ripples on the portal surface, and controlling that shader to only respond when it gets hit!

Github Repo Link