I have several entities with a same model so I put them to one batch group. These entities don’t move but sometimes I need to teleport them to a new position (they have static rigidbody). Does the batchGroup has to be dynamic or can it be static?
That’s a good question. Normally they should be dynamic so the batch group gets updated when they move.
But if they move occasionally only and you are ok with a couple of missing frames, you can have them as static and when they move force the batcher to rebuild the batched mesh:
this.app.batcher.generate();
Check the documentation on how this method is used: