Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Is it possible to rotate a decal?

local Slice = Instance.new("Decal")
Slice.Parent = Part
Slice.Texture = "http://www.roblox.com/asset/?id=275713829"
Slice.Face = 1
Slice.Transparency = 0

I was wondering if it were possible to rotate a decal and if so how?

2 answers

✓ Accepted answer

No, not the decal itself. But rotating the part it's on should work just fine.

Example:

local part = Instance.new("Part",workspace)
local d = Instance.new("Decal",part)

part.TopSurface="Smooth"
part.BottomSurface="Smooth"
part.Anchored=true
part.Size=Vector3.new(5,5,1)
part.CFrame=CFrame.new(0,50,0)

while wait() do
	part.CFrame = part.CFrame * CFrame.Angles(0,0,1/10)
end

This discussion is preserved as it was. New answers, comments, and votes are closed.