Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
2

Is it possible to rotate a decal?

Asked by
neoG457 315 Moderation Voter
8 years ago
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

Log in to vote
7
Answered by 8 years ago

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
Ad
Log in to vote
-3
Answered by 8 years ago

CodingEvolution is right.

0
You didn't need to do that. PancakeChop 35 — 8y
0
Wow. neoG457 315 — 8y

Answer this question