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
9 years ago
1local Slice = Instance.new("Decal")
2Slice.Parent = Part
4Slice.Face = 1
5Slice.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 9 years ago

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

Example:

01local part = Instance.new("Part",workspace)
02local d = Instance.new("Decal",part)
03 
04part.TopSurface="Smooth"
05part.BottomSurface="Smooth"
06part.Anchored=true
07part.Size=Vector3.new(5,5,1)
08part.CFrame=CFrame.new(0,50,0)
09 
10while wait() do
11    part.CFrame = part.CFrame * CFrame.Angles(0,0,1/10)
12end
Ad
Log in to vote
-3
Answered by 9 years ago

CodingEvolution is right.

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

Answer this question