Baby builder
Baby Builder - 2023
This was my second big project in Unity now using the XR interaction toolkit for VR support. Once again I worked as one of two programmer focusing on player movement, item interaction, and environment interaction. I also made sure the game could be built for and run natively on the Quest 2 system, which required quite some optimization.
Baby creation
In this project the player is capable of assembling a baby by attaching multiple parts, these parts being the head, torso, and limbs. This was done using the XR Socket interactor showing the player an outline of where the body part was supposed to go and snapping it in place, the body part is then parented under the torso retaining its position.
Collision, XR, and force
We made heavily adjusted the collision layer setup to make sure that items picked up by the player would not exhibit force on them. The conveyor belt required a script that allowed it to move either parts of or a whole baby by applying force in the correct direction.
In-game menu interaction
The level has a floating holographic menu allowing the player to change the baby’s traits by interacting with it. It then applies these traits to the baby constructed by the player and when the baby is “delivered” through the conveyor belt it checks the parts and traits to make sure it is equal to whatever randomized order the player received.