public void CreateMesh(Material material, float rotationSpeed, string name = null, bool setAsRoot = false) { component = new(this, rotationSpeed, name, setAsRoot); component.SetStaticMesh(StaticMesh.Cube); component.SetMaterial(0, material); }