Enable Instancing with rigidbody mesh
Hello,
I'm currently trying to optimize my game at the maximum. My problem is that I want to display 5000 to 10000 cube that have a rigidbody and the same material. I tried to enable the GPUInstance on the material but I have the error on my frame debugger saying that the Object Materials are different. I'm thinking maybe the batching is not possible when there is force and rigidbody on my mesh ?
Thank you,
Answer by kavaliero · Jan 12, 2018 at 09:21 AM
OK I think I found something to help me. Because I need to change the color of each my mesh I cannot use GPUInstancing. So I find materialpropertyblocks is usefull for me.
you can instantiate multiple objects with Rigidbody by gpu instancing?
Your answer
Follow this Question
Related Questions
Designing an efficient cloud particle system to represent weather 1 Answer
Optimize mobile game with lot of Rigidbodies (Collisions) 0 Answers
Static Collider.Move warning is still in place: should I add Rigidbody or not? (Unity 5.3.3f1) 0 Answers
Does Polybrush use GPU Instancing for detail meshes? 1 Answer