Visitar URL original
castle-engine/examples/physics/physics_explosion at master · castle-engine/castle-engine · GitHub
Skip to content

Latest commit

 

History

History

physics_explosion

README.md

Explosion!

Demo of using TCastleRigidBody.ApplyImpulse to simulate an explosion throwing away a number of rigid bodies around.

Also shows that TCastleMeshCollider on a terrain works.

Using Castle Game Engine.

Building

Compile by:

  • CGE editor. Just use menu items "Compile" or "Compile And Run".

  • Or use CGE command-line build tool. Run castle-engine compile in this directory.

  • Or use Lazarus. Open in Lazarus physics_explosion_standalone.lpi file and compile / run from Lazarus. Make sure to first register CGE Lazarus packages.

  • Or use Delphi. Open in Delphi physics_explosion_standalone.dproj file and compile / run from Delphi. See CGE and Delphi documentation for details.