After the laser system i had to create a backpack system that allows the player`s weapons to be stored without losing the information that the system has of them, to create this i used several box colliders, one at the back of the players head to detect when an object needs to be stored and two on the each side of the player to detect when a weapon is being taken out of the backpack.
This allowed me to keep the weapons data as well as allows the player to quickly pick up their weapon and start shooting if they run out of ammo, instead of going back and grabbing one, or openning an inventory screen and picking a different weapon.
One thought on “VR backpack”