Hello! Long time no see...
This time i have a VR project to share with you. I got my hands on a Rift recently and i had always wanted to make a drum kit in VR, so this happened. Everything except the bass is physics simulated. It's not the most practical VR drum kit in the world but it is fun to play around with.
Things you should know:
- There are two types of sticks; one is a static mesh and the other skeletal mesh which uses physical anim. Skeletal stick is pretty good with cymbals but not so much with drums at high velocity, so i havent left it enabled by default. The left hand stick works with the edge of the snare, right one only hits cymbals. If you want the skeletal to work with drums as well you need to make adjustments in OnRep_RimHit function(also explained with comments in the project)
- Drums, cymbals and the high hat all have physical animation enabled. Rebound is restricked in PhAt via constraints.Rebound gives a satisfying feeling as if you are really hitting something and thats why i've made it this way. Skeletal stick also gives the same feeling but... reasons explained above.
- Rebound feels good but the catch is hit event goes nuts and hit impulse becomes unreliable. To calculate impulse i use the velocity of a component in hand BP as hit occurs. And to prevent continuous hit event(because of rebound) i've used a box collision component's EndOverlap + bit of a delay. You may need to adjust the height of the collision box if you hear double hits.
- I didnt include any drumless tracks, but you can easily find them on the net or even youtube. I tried to make a 3d widget which uses web browser so that you could at least head over to youtube while in the game but i didnt have time to get it working with VR.
- Switch between static and skeletal stick is controlled with thumb stick. You may need to change it to something more comfortable for HTC controllers.
- Sound samples are gathered from https://soundpacks.com/category/free-sound-packs/ , https://samplefocus.com/categories/kicks and https://sampleswap.org/filebrowser-n...(FULL%20KITS)/ .If anyone has a real drum kit and can record multiple sounds at different hit speeds and add them to the project feel free to do so! We'd appreciate it.
- I can't guarantee any improvements & maintenance to this project in the long run because the Rift doesn't belong to me.
- You can use this project and its content as you like. Just make sure to share some videos if you play something with it!
Download Link for 4.21.0: https://drive.google.com/open?id=1jF...rwMbAcx1gfHUPf
Comment