+2 votes

You can control the transform of an individual instance of a multimesh through MultiMeshInstance.MultiMesh.set_instance_transform ( int instance, Transform transform ).

You can control how many of the instances are visible through MultiMeshInstance.Multimesh.visible_instance_count = < parameter >.

But how do you control which of the instances are visible and invisible?

I have cells that are born, and some eventually die. Since particular cells will die, it's not precise enough to tune down the visible_instance_count (since I'm assuming that the highest indices will be cut off). So how can I make a MultiMesh instance, representing a dead cell, invisible?

asked Apr 29 in Engine by toblin (131 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.