Debian Codegraph @

examples/physics/physics_test_scale_colliders/README.md

raw symbols SCIP
1 # Physics scale colliders
2
3 Tests the scale applied to `TCastleCollider` in various ways:
4
5 - scaling using the `TCastleTransform.Scale` on parent (direct and indirect) of the `TCastleCollider`
6
7 - scaling using the `TCastleCollider.SizeScale`.
8
9 Correct test result (in both editor simulation and when you run):
10
11 - All objects should fall nicely on yellow bar, not "go through".
12
13 - Pressing any "Scale ..." buttons should also make them stand sensibly on top of another
14
15 - ...*except* "Scale Red Box Collider 1/2" that deliberately desynchronizes collider size with look, it should make the red box "fall through" the yellow bar partially and stop.
16
17 Using [Castle Game Engine](https://castle-engine.io/).
18
19 ## Building
20
21 Compile by:
22
23 - [CGE editor](https://castle-engine.io/editor). Just use menu items _"Compile"_ or _"Compile And Run"_.
24
25 - Or use [CGE command-line build tool](https://castle-engine.io/build_tool). Run `castle-engine compile` in this directory.
26
27 - Or use [Lazarus](https://www.lazarus-ide.org/). Open in Lazarus `physics_test_scale_colliders_standalone.lpi` file and compile / run from Lazarus. Make sure to first register [CGE Lazarus packages](https://castle-engine.io/lazarus).
28
29 - Or use [Delphi](https://www.embarcadero.com/products/Delphi). Open in Delphi `physics_test_scale_colliders_standalone.dproj` file and compile / run from Delphi. See [CGE and Delphi](https://castle-engine.io/delphi) documentation for details.