Reader small image

You're reading from  Enhancing Virtual Reality Experiences with Unity 2022

Product typeBook
Published inNov 2023
Reading LevelBeginner
PublisherPackt
ISBN-139781804619537
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Steven Antonio Christian
Steven Antonio Christian
author image
Steven Antonio Christian

Steven Christian is an Augmented Reality Developer, Animator, and Medical Student Student. He's also the Owner of Iltopia Studios where he creates comics and cartoons that explore the Black experience in America. He is Unity Certified 3D Artist and Instructor and his goal is to improve equity in arts and technology through content creation and community-focused education.
Read more about Steven Antonio Christian

Right arrow

Creating a grenade

Our first project is creating a grenade, and we will use it as a way of applying force in a variety of different directions so that there is a broad impact in our VR scene. Creating a grenade requires a strategic approach, specifically because it requires you to grab the grenade, arm it, and then throw it. Once the grenade is thrown and armed, it will detonate after a certain amount of time. If you don’t arm the grenade and throw it, it won’t detonate. And if you don’t throw it soon enough, it can detonate in your hand. Being able to create this experience is unique and can be fun because it allows you to implement something very simple and get a nice result.

For this project, we’ll start by creating a grenade mesh with simple objects. Then, we’ll create a C# script that can be used to arm our grenade and apply different settings and properties, such as impact force and other things. We will then create a spawn portal that will...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Enhancing Virtual Reality Experiences with Unity 2022
Published in: Nov 2023Publisher: PacktISBN-13: 9781804619537

Author (1)

author image
Steven Antonio Christian

Steven Christian is an Augmented Reality Developer, Animator, and Medical Student Student. He's also the Owner of Iltopia Studios where he creates comics and cartoons that explore the Black experience in America. He is Unity Certified 3D Artist and Instructor and his goal is to improve equity in arts and technology through content creation and community-focused education.
Read more about Steven Antonio Christian