This document is about: QUANTUM 3
SWITCH TO

Physics Playground

Topology
DETERMINISTIC

Overview

This sample highlights the use of Quantum's Physics System in a basic playground with a rolling boll, controlled via physics forces, interacting with other entities and static geometry.

Find here the manual for Quantum Physics.

For a detailed overview of the sample, watch the following video tutorial which utilizes it.

Project Structure

Find the main assets and scripts for this project in the folder Assets/QuantumEssentials/PhysicsPlayground.

The folders are organized as follows:

  • Simulation: Systems for moving the player (a sphere) via adding forces to it and moving a Kinematic entity;
  • View: Basic camera behaviour for following the player;
  • Scene: Contains the main sample scene;
  • Resources: Contains all prefabs and ScriptableObjects relevant to the sample, including the interactable physics objects in the scene;

Testing the sample

To test the sample, simply play the scene contained within the Scene folder, use WASD to move around and Space Bar to jump.

Back to top