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.
First VR project- Ben Jeffreys
More posts
- End productMay 03, 2023
- Shooting galleryApr 30, 2023
- Menu systemApr 27, 2023
- Engine changeApr 25, 2023
- Door rotationApr 14, 2023
- Smooth locomotion pt1Feb 17, 2023
- Task assignmentNov 10, 2022
- ConceptOct 30, 2022
Leave a comment
Log in with itch.io to leave a comment.