-
Notifications
You must be signed in to change notification settings - Fork 0
On Body Containers
The idea with On-Body containers is to create place on the body you could attach certain objects for use later. In this case, we wanted you to be able to attach the Pocket Container to you in order to carry it around, especially since we envisioned the container as a type of money pouch. This has been seen in other VR titles such as Onward, which has certain areas on the body to hold grenades and pistols.
BodyContainer.cs
In the Wrist_Inventory scene, there is a white cube floating on your left, if you hold the Pocket Inventory and toss it at the white cube, the pocket container will stick to it, allowing you to walk around. At anytime you can grab the container with your left hand and pull it off the white cube in order to use it. The small toss was necessary because Unity does not like detecting objects inside of other objects, and so it was better to make the object stick when it first starts to enter the collider instead.
This system could be used to hold almost anything including pocket inventories, weapons, potions...etc. There are many ways this could be used in VR games.
The main advantage of this system is the ability to take an item with you and have it ready to grab at any time. A weapon like a sword or gun would be quick to grab and quick to use.
The main disadvantage with our system is that it doesn't follow the player when they turn around or spin. In a room scale VR setup, this would definitely break the immersion, but it can work in a sitting or standing experience. This problem is because it is tied to the tracking space of the player, rather than the body itself. However, time constraints limited our ability to position it correctly. The concept is still functional though.