This document is about: QUANTUM 3
SWITCH TO

Physics Essentials

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 tutorials which utilizes it.

Photon Quantum Physics Basics #1 - Colliders, Physics Bodies & Layer Matrix
Photon Quantum Physics Basics #2 - Collisions, Triggers & Overlap Queries

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.

Last updated on

Back to top