
// Create physics entity

subcreate Physics PhysicsEntity name Car 

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

// Create graphic

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

// Link physics entity to graphic

link Car VisInfo CarMesh VisInfo
