No idea whats causing this bug, its weird
This is a pretty interesting bug lol, have you fixed this yet? Might just be a weird rendering issue (likely drivers) or a studio issue
I did use a script written by the roblox ai for it, but the thing is that when I tried to use a convert part plugin it worked one time but doesnt work anymore, its weird
the script used wasnt that weird
local Selection = game:GetService("Selection")
local selectedParts = Selection:Get()
if #selectedParts == 0 then
warn("No parts selected.")
return
end
-- Calculate center point of all selected parts
local center = Vector3.new(0,0,0)
for _, part in ipairs(selectedParts) do
if part:IsA("BasePart") then
center = center + part.Position
end
end
center = center / #selectedParts
for _, part in ipairs(selectedParts) do
if part:IsA("BasePart") then
local wedge = Instance.new("WedgePart")
wedge.Size = Vector3.new(part.Size.X, part.Size.Y * 0.5, part.Size.Z)
wedge.Anchored = true
wedge.Color = Color3.fromRGB(255, 255, 127)
wedge.Parent = workspace
-- Position wedge upright, flush on top of the part
local topY = part.Position.Y + part.Size.Y/2 + wedge.Size.Y/2
local wedgePos = Vector3.new(part.Position.X, topY, part.Position.Z)
-- Face wedge towards center
local lookDir = (center - wedgePos).Unit
local upDir = Vector3.new(0,1,0)
local rightDir = upDir:Cross(lookDir).Unit
local facingCFrame = CFrame.fromMatrix(wedgePos, rightDir, upDir, -lookDir)
wedge.CFrame = facingCFrame
end
end
print("Upright wedges placed on top of selected parts, facing center.")
Ok so I found my fix, trying to use the move tool to move it did NOT fix it, even when moved to a different place the part was still inside out, but when I selected and dragged it on the ground it fixed
so I just selected all the affected parts and made them go up by 0.01 studs cause updating position worked too
so its probably like the roblox shading not detecting the part or something, so when you move it, it like updates the shading. it probably wouldnt have this effect when in game just in studio
and it is likely limited to the roblox rendering engine im using (Vulkan)
If this was the script that created those parts, then it’s probably the CFrame.fromMatrix thats causing them to look like that. It’s making the size negative, which normally isn’t possible without it. This is a known way to invert the scale used intentionally.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.