This command will add the specified shape to the specified template, at the specified location, with the specified angle.
Rather than hand-coding shapes and adding them to the template, it is strongly recommended that you visit the Box2D WIP thread on The Game Creators forums to download Shape Edit V1.0, made by Diggsey. The editor greatly simplifies the creation of body templates and exports to DarkBASIC Pro code that can be easily pasted into your program.
The TemplateID should be the integer handle of the template to add the shape to. The ShapeID should be the integer handle of the shape to be added.
Syntax
b2AddShapeToBodyTemplate TemplateID as Integer, ShapeID as Integer,
X as Float, Y as Float, Ang as Float