Instanced Static Mesh Component AddInstance performaces issue
I'm working on a simple voxel engine for research purposes and for UE4 Learning. I've some experience with other game engines like Unity.
Try to ask my question per points:
So the Actor's hierarchy is:
The world works well, and the engine generate it correctly in front of the Player.
My problem is about performances. Each time I add blocks (instances) to the chunk (ISMC), 16x16x16 = 4096 instances, there is an Hitch. I can try to work on chunk visibility optimization, but the spawn of a single chunk create an hitch, so I believe something escapes me.
I've checked the Engine code, and somewhere it speacks about Physics, that I absolutely don't need. May be the ISMC try to work on some physics and I can disable it?
Thanks in advance for any kind of tip you can give me. Regards, Marco
asked Dec 05 '17 at 11:44 AM in C++ Programming
I just called SetSimulatePhysics(false) and SetCollisionEnabled(ECollisionEnabled::NoCollision) of the ISM component itself. That seems to disable physics/collision for all the instances.
answered May 11 '18 at 09:48 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here