Object Size - Performance

this may be a silly question but i’m curious:

does the size of you game objects affect performance? in other words if you have a rigidbody being affected that’s say 100m is there a performance hit versus affecting a rigidbody that’s 1m big?

mass is relative but i can’t figure out in my simple tests if this applys to size as well (maybe that’s not correct thinking i don’t know ; )

Well, I would say that 100 1m objects will be more expensive than 1 100m object. It’s entirely game dependant.

At any rate, I highly doubt that this will be the performance bottleneck on your project.

actually not quite what i was asking - i understand object count / performance issues - i’m really just talking about singular object size if that can affect performance.

No, it does not really affect (as far as physics is concerned). It’s still the same set of motion equations to solve.

Of course, a larger object might collide with more small ones (then it’s more expensive), have less precision, or just fill up more pixels on the screen (then it’s more expensive to render).

thanks! just one more thing:

why is this?

Because floating point numbers in computers are the most accurate around 1.0. I believe having rigid body masses close to that is more important for precision than having the sizes close to that.

good to know - thanks aras ; )