
// Create physics entity

subcreate Physics PhysicsEntity name Box

set Box Density 80.0
set Box AddMaterial Data\PhysicsMaterials\Stone.txt
set Box AddShapePos 0.0 0.0175 0.0
set Box AddBox 0.035 0.035 0.035
set Box Target true
set Box VisInfo 0.0 1.0 0.0 0.0 0.0 1.0
set Box Enable true

// Create graphic

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

// Link physics entity to graphic

link Box VisInfo BoxMesh VisInfo
