A JetPack Simulation in VR
Here's a mini-game I put together to explore the game dynamics of a JetPack in Virtual Reality. I thought it would be cool to fly around buildings and birds with a JetPack strapped to my back. I added fall damage to make it challenging to pick up loot and refuel while also dodging FLYING OBSTACLES!
Video Demonstration:
Screenshots:
Code Sample:
{ // falling if (!character.isGrounded) { fallVelocity -= .08f; // keep adding more fallVelocity } moveDirection.y += fallVelocity; //Fall velocity has to be a negative number RocketSound.Stop(); GetComponent<OVRPlayerController>().Acceleration = 0.2f; }