Hey, I have a problem with tweening part sizes, it should be set right, Example: size: x= 1, y=0.001, z = 1
but instead what i get is size: x = 0.001, y = 0.001, z = 0.001
for some reason, and I playtested around and the issue causer is the tween line.
local tweenInfo = TweenInfo.new(
0.1,
Enum.EasingStyle.Sine,
Enum.EasingDirection.In,
0,
false,
0
)
local calculatedSize = player.leaderstats.Mass.Value / 30
calculatedSize *= 100
calculatedSize = math.floor(calculatedSize)
calculatedSize = calculatedSize / 100
print(calculatedSize) -- Prints out 1.33
local tween = tweenService:Create(Circle, tweenInfo, {Size = Vector3.new(calculatedSize, 0.001, calculatedSize)})
tween:Play()
So as i said it seems that the part tweens to size 0.001, 0.001, 0.001 but the x and z should be different
What does the part look like in which you’re tweening? Sphere parts unless it’s a mesh will always have a uniform shape and scale entirely by just changing one of the size coordinates.
Cylinders will maintain their shape, so regardless of X and Y being different, it’ll always be proportional. Something that could work is not using the built-in cylinder & importing your own mesh.