Door button


I decided I wanted to make the button open the door on collision.

I experimented with a widget blueprint, trying to use the button feature to interact with the VR pawn. However, I found a better option in making an actor blueprint and a collision box on the controllers for a better interaction,

I used a static mesh and box collision for the button as well as an arrow to better align the visual aspect of the button. Using the trigger of overlapping actors, I was able to get the button to move smoothly with success. One issue I ran into was that the class filter was not detecting the VR pawn. Therefore I set the class filter accordingly. This will trade intractability with other objects, but that is a very rare use case that I think it will not be an issue.

Work on interaction with the door will be next, hopefully triggering the door open event when the button hits a certain height. Coming from very little experience, I used a video from VR Playground on YouTube linked below to learn how to make the button work. However, I linked the button to the door by myself. The video was extremely helpful, giving a clear tutorial that allowed me to use what is being taught and implement it in my own project.

https://www.loom.com/share/682d3111f9d7424dbf1d2242dac167b6

Leave a comment

Log in with itch.io to leave a comment.