And well I was trying to create an embedded script.
Something that is immune to the parent of the layer and when rotated does not affect the child.
If anyone can help me or there is a way please.
I leave you the script:
Code: Select all
function LayerScript(moho)
local layer = moho.document:LayerByAbsoluteID(1)
layer.fRotationX:SetValue(moho.frame,true)
layer.fRotationY:SetValue(moho.frame,true)
layer.fRotationZ:SetValue(moho.frame,true)
end
Also the files.
I embedded the script in the Child layer. : https://www.mediafire.com/file/7ah01xo8 ... e.rar/file