The SetBodyGroup
method allows you to set the value of a body group for a model by specifying the name of the body group and the desired value. This is useful for customizing the appearance of a model by enabling or disabling certain parts of it.
The SetBodyGroup
method allows you to set the value of a body group for a model by specifying the name of the body group and the desired value. This is useful for customizing the appearance of a model by enabling or disabling certain parts of it.
To use the SetBodyGroup
method, you need to have an instance of the ModelRenderer
class. Call the method with the name of the body group you want to modify and the integer value you want to set it to.
// Assuming 'modelRenderer' is an instance of ModelRenderer modelRenderer.SetBodyGroup("head", 1); // Sets the 'head' body group to value 1