1 | local Slice = Instance.new( "Decal" ) |
2 | Slice.Parent = Part |
3 | Slice.Texture = "http://www.roblox.com/asset/?id=275713829" |
4 | Slice.Face = 1 |
5 | Slice.Transparency = 0 |
I was wondering if it were possible to rotate a decal and if so how?
No, not the decal itself. But rotating the part it's on should work just fine.
Example:
01 | local part = Instance.new( "Part" ,workspace) |
02 | local d = Instance.new( "Decal" ,part) |
03 |
04 | part.TopSurface = "Smooth" |
05 | part.BottomSurface = "Smooth" |
06 | part.Anchored = true |
07 | part.Size = Vector 3. new( 5 , 5 , 1 ) |
08 | part.CFrame = CFrame.new( 0 , 50 , 0 ) |
09 |
10 | while wait() do |
11 | part.CFrame = part.CFrame * CFrame.Angles( 0 , 0 , 1 / 10 ) |
12 | end |
CodingEvolution is right.