Anyone know how Roblox resizes accessories internally?

While I’m all up for grounds of conducting a test for my question, I don’t even know any formulas or what values are relied on for each type of accessory, which makes this all the more difficult to go from.

Would anyone happen to know any catch-all method applied to accessories when they’re resized? If not, would anyone happen to know which values are appropriate to look at? There are 6.

  • HeadScale
  • BodyDepthScale
  • BodyWidthScale
  • BodyHeightScale
  • BodyTypeScale
  • BodyProportionScale

One thing I’ll know for certain is that all accessories do not rely on the same consistent scales. For example, it’d be weird to resize a head accessory when you change a body scale.

EDIT 07/06/2023: Resolved by using model scale.

I have found out how Roblox resizes accessories with the help of the Avatar Evolution character controller demo. Due to the Limited Use License, I am unable to use the code directly for production, so I will be studying the math and creating my own code based on the math used here.

For reference, check the ScaleAccessory method of the ServerRigScale class.

2 Likes