Keep things tidy to avoid getting overwhelmed !
Overview:
"Pickup" is an interactive VR game designed for the Meta Quest 3. In this application, players are tasked with picking various objects—cubes, spheres, and capsules—as they drop out of the air. Players must then place the objects into the correct bins based on color. There is both the ability to pick things up normally and with the Near-Far Tool, which allows for interaction with objects at varying distances.
Features:
Dynamic Object Spawning:
Objects spawn at regular intervals from a designated spawn point.
Objects include cubes, spheres, and capsules.
Physics-Based Interaction:
Each object is physics-enabled using Unity’s Rigidbody system, ensuring natural movement and interaction.
Objects can be grabbed using VR controllers, leveraging Unity’s XR Interaction Toolkit.
Visual Variety:
Six predefined colors (red, green, blue, yellow, cyan, magenta) are randomly applied to objects for visual distinction.
Objects are scaled dynamically within a specified range, adding further variety to the experience.
Target Bins:
Players must place objects into the correct bins based on visual or gameplay cues (e.g., matching colors or shapes).
Each bin detects and counts objects, allowing for score tracking and potential future enhancements like competitive modes.
Immersive Gameplay:
Objects spawn with smooth physics-based motion, creating a challenging but fair gameplay loop.
Slight variations in spawning positions and trajectories ensure every game session feels unique.
Technical Details:
Physics: Unity’s Rigidbody system for realistic motion and collision detection.
Randomization
Colors and scales selected dynamically for visual diversity.
Interaction:
XR Grab Interactable for picking up objects.
Trigger Colliders for bin detection and scoring.
Challenges and Solutions:
Collision Avoidance:
Problem: Objects spawned too quickly would collide mid-air.
Solution: Adjusted spawn intervals for better pacing.
Objects Falling Through the Ground:
Problem: Fast-falling objects occasionally bypassed the floor collider.
Solution: Switched to continuous collision detection for spawned objects and ensured the floor had a thicker collider.
Future Enhancements:
Scoring and Feedback:
Introduce a scoring system based on accuracy and speed of placing objects in the correct bins.
Add visual and auditory feedback when objects are successfully placed.
Multiplayer Mode:
Enable cooperative or competitive gameplay, allowing multiple players to participate.
Game Modes:
Add timed challenges, survival modes, or custom difficulty levels for more variety.
Enhanced Visuals:
Introduce particle effects, object trails, and more detailed materials for a polished look.
Dynamic Rules:
Implement rules that change during gameplay (e.g., color-matching, shape-matching, or size-based sorting).