| 1 | # Physics 3D layers |
| 2 | |
| 3 | Showing the physics layers in 3D. |
| 4 | |
| 5 | Change _Physics Properties -> LayerCollisions_ matrix to configure how collision layers work. |
| 6 | |
| 7 |  |
| 8 | |
| 9 | Using [Castle Game Engine](https://castle-engine.io/). |
| 10 | |
| 11 | ## Building |
| 12 | |
| 13 | Compile by: |
| 14 | |
| 15 | - [CGE editor](https://castle-engine.io/editor). Just use menu items _"Compile"_ or _"Compile And Run"_. |
| 16 | |
| 17 | - Or use [CGE command-line build tool](https://castle-engine.io/build_tool). Run `castle-engine compile` in this directory. |
| 18 | |
| 19 | - Or use [Lazarus](https://www.lazarus-ide.org/). Open in Lazarus `physics_3d_collisons_layers_standalone.lpi` file and compile / run from Lazarus. Make sure to first register [CGE Lazarus packages](https://castle-engine.io/lazarus). |