setParent method
Set the parent of the body
Implementation
@override
void setParent(World world){
parent = world;
scale = parent!.scale;
invScale = parent!.invScale;
id = parent!.numRigidBodies;
if(name != '') name = id.toString();
//updateMesh();
}