Skip to main content

Sample Projects

The QWR Unity SDK includes several sample scenes demonstrating various features and interaction patterns. These samples are located in the GitHub repository and provide practical examples you can use as a foundation for your XR applications.

Sample Scenes Overview

The SDK includes sample scenes demonstrating:

  • Hand tracking and controller input - Basic tracking and input handling
  • Input system configuration - Setting up the XR input system
  • Ray interaction - Interaction patterns using ray casts
  • Physics interaction example - Physics-based object manipulation
  • Multiplayer networking example - Networked VR experiences

Repository Information

All sample scenes are located in the QWR-Interactive-Solutions-Pvt-Ltd/VRonePro_Unity_SDK repository.

Available Sample Scenes

The SDK includes sample scenes in the main repository that demonstrate:

Hand Tracking and Controller Input

Demonstrates basic hand tracking implementation and controller input handling.

Location: com.qwr.core/Samples/HandTrackingController

Input System Configuration

Shows how to configure and use the XR input system with the QWR SDK.

Location: com.qwr.core/Samples/InputSystem

Ray Interaction

Examples of ray-based interaction patterns for UI and object selection.

Location: com.qwr.core/Samples/RayInteraction

Physics Interaction

Demonstrates physics-based object manipulation, grabbing, and throwing mechanics.

Location: com.qwr.core/Samples/PhysicsInteraction

Multiplayer Networking

Example implementation of networked multiplayer VR experiences.

Location: com.qwr.core/Samples/Multiplayer

How to Access Sample Scenes

Installation Method

  1. Clone the repository:

    git clone https://github.com/QWR-Interactive-Solutions-Pvt-Ltd/VRonePro_Unity_SDK.git
  2. In your Unity project, open the Package Manager (Window > Package Manager)

  3. Click the "+" button and select Add package from disk...

  4. Add the packages in this order:

    • First, add com.qwr.utilities/package.json
    • Then, add com.qwr.core/package.json
  5. Once installed, navigate to the Samples section in the Package Manager to see all available sample scenes

Opening Sample Scenes

  1. In Unity, open the Package Manager window
  2. Select QWR Core from the packages list
  3. Scroll to the Samples section
  4. Click Import on any sample scene you want to explore
  5. Find the imported scenes in your Assets/Samples/QWR Core folder

Sample Scene Details

Hand Tracking Scene

Location: Assets/Samples/QWR Core/HandTrackingController

Demonstrates:

  • Hand model rendering and tracking
  • Gesture recognition
  • Physics-based hand interactions
  • Hand visualization options

Controller Input Scene

Location: Assets/Samples/QWR Core/ControllerInput

Demonstrates:

  • Controller tracking and visualization
  • Button press detection
  • Haptic feedback implementation
  • Controller ray interaction

Ray Interaction Scene

Location: Assets/Samples/QWR Core/RayInteraction

Demonstrates:

  • Ray-based UI selection
  • Object highlighting and interaction
  • Teleportation mechanics
  • Distance grabbing with rays

Physics Interaction Scene

Location: Assets/Samples/QWR Core/PhysicsInteraction

Demonstrates:

  • Physics-based object grabbing
  • Throwing mechanics
  • Physics constraints
  • Interactive object manipulation

Multiplayer Scene

Location: Assets/Samples/QWR Core/Multiplayer

Demonstrates:

  • Avatar representation
  • Hand and controller synchronization
  • Object ownership and networking
  • Voice communication integration

Getting Started with Samples

  1. Import the QWR SDK packages into your Unity project
  2. Import sample scenes from the Package Manager
  3. Open a sample scene to see the implementation
  4. Study the scripts to understand how features are implemented
  5. Modify and experiment with the samples to create your own experiences

Best Practices

Performance Optimization

  • Use object pooling for frequently interacted objects
  • Implement proper cleanup in interaction scripts
  • Consider LOD (Level of Detail) for complex objects

User Experience

  • Provide clear visual feedback for interactive elements
  • Ensure smooth transitions and animations
  • Test with different controller configurations

Support

If you need help with the sample scenes:


The sample scenes provide excellent starting points for understanding VR interaction patterns and can be customized for your specific XR applications.