public void markdirty() { rotdirty = true; posdirty = true; foreach (Bone childbone in children) { childbone.markdirty(); } }