Hey thanks! That was one of my main goals so I'm glad you liked it. The throwing is mostly controlled by the "Throwable" script that's actually included in the SteamVR plugin, and there are lots of included options to get it to feel exactly how you want it. The auto-aim is inspired by a similar mechanic in the game Pistol Whip. Essentially if you are off target <30° or so it kicks in and uses a trajectory calculation to hit the closest target. I added a trail renderer and the "swoosh" audio for some polish.
← Return to game
Comments
Log in with itch.io to leave a comment.
I played this game a while back it was pretty fun I liked it. I also did a video.
Vinesauce played Onirogu!
Your throwing mechanic looks and feels great! Would you care to share how you all accomplished this for a game jam?
Hey thanks! That was one of my main goals so I'm glad you liked it. The throwing is mostly controlled by the "Throwable" script that's actually included in the SteamVR plugin, and there are lots of included options to get it to feel exactly how you want it. The auto-aim is inspired by a similar mechanic in the game Pistol Whip. Essentially if you are off target <30° or so it kicks in and uses a trajectory calculation to hit the closest target. I added a trail renderer and the "swoosh" audio for some polish.