Skip to main content

14 docs tagged with "physics"

View All Tags

Collision and Triggers

Rigidbodies collide with each other, a sound is played on a collision and a trigger volume resets the shapes.

Forces and Impulses

Use the cursor keys to apply impulses, the WASD keys to apply torques and rotate the cube. Press and hold F to apply a constant upward force to cancel gravity effects.

Physics with CCD

A sample with a script to setup and enable CCD for very fast moving physics objects

Vehicle Physics

An implementation of vehicle physics in PlayCanvas, using the RaycastVehicle API in ammo.js. Supports desktop, mobile and VR.