Allow assigning to WrapLayer.ShrinkFactor

As a Roblox developer, it is currently impossible to prevent players from creating giant monstrosities out of their avatars by equipping certain layered clothing items without disabling layered clothing completely.

The only way to prevent this is to either:

  1. Disable layered clothing entirely, as stated above
  2. Manually force all layered clothing items on an avatar to have a ShrinkFactor of 1:

However, WrapLayer.ShrinkFactor cannot be assigned to at runtime and therefore this second method is impossible. There is one method that exists already of loading and applying layered clothing items to an avatar, HumanoidDescription:SetAccessories(), but it does not allow assigning of the item’s shrink factor, only order and puffiness.

image

If Roblox is able to address this issue, it would improve my development experience because I will be able to enable layered clothing items in my games without fear of players disrupting the experience of others.

10 Likes