Skip to content

VariantMeshReplacement

Nebby edited this page Jul 12, 2021 · 1 revision

VariantMeshReplacement

The Variant Mesh Replacement replaces the original body's Mesh. It is a difficult system to get working properly and currently only supports meshSwaps for vanilla RoR2 enemies.

The process of making a proper mesh replacement isnt documented yet.

Variable Name Description
Renderer Index What Render Index youre targetting for replacing.
The Renderer index can be inspected in RuntimeInspector
Mesh The Mesh to use for the replacement
MeshType Used to fix problems with the creation of specific meshes for enemies
Only use the one you're intending to use.

Clone this wiki locally