If I make something a union will it cause lag? Each time I make a game, and when I try to move the model around I grouped it caused me serious lag, I’ve even tried deleting some of the parts. Is there a way how I can avoid this problem?
This depends on your game. Are you planning on using a large quality of unions or just a small amount?
Unions don’t reduce lag nor cause it. the amount of polygons still say the same so your not reducing on that front, the only reason they exist is to work with the negate feature. unioning just make editing builds a hassle don’t use if you don’t need.
if you are having an issue its because your potato is not capable of game development. or you know. something not related to unions.
I’ve been trying to manage both amounts, but it seems to the problem eaither way.
The reason you are getting lag spikes when you move grouped parts is because each parts positional data has to be changed and accounted for for example if i have 100 parts and 1 union made of 100 parts if i move 100 parts the game has to change 100 position values if i move 1 union the game has to change 1 position value. However once those parts have settled and are anchored still the same amount of polygons nothings changed a union without a negate is just a fancy group.
Not nessisarily. If you are using a high amount of unions then their could be an issue. I would always export your parts into an obj, put into blender an optimise it, then reinsert it into studio!
Actually unnecessary Unions can absolutely create performance issues, and if made poorly can add additional redundant polys to any object.
Parts, cylinders, and spheres all have geometry known to the Client, so they’re incredibly efficient. Unnecessary Unions (as in, ones that don’t play to Union’s strong suites) need to be downloaded and can cause an increased load time.
Yes it does. Why?
Well, grouping a bunch a parts as one is not going to help dude to the fact that making it into a group, its like “a group of parts”, hope that make sense to you
But unions help a lot because what it does is it combines two or more parts as one and deletes any excessive mesh from the part that you’ve combined