
// Create physics entity

subcreate Physics PhysicsEntity name Box

set Box AddMaterial Data\PhysicsMaterials\Stone.txt
set Box Density 200.0
set Box AddSphere 0.15
//set Box AddBox 0.15 0.15 0.15
//set Box AddMesh Data\Meshes\cube_p.x

set Box Enable true

// Create graphic

subcreate D3DRenderer RenderInstance name BoxMesh
set BoxMesh DataFile Data\SphereMesh.txt

// Link physics entity to graphic

link Box VisInfo BoxMesh VisInfo
