...Ey! 7FEET!!!
THANK YOU VERY MUCH! And SORRY for your time too, yes... But at least after all the afternoon I'm GETTING results!

And all just before I went to desist...
...Well, finally this is the aspect of the part of your SF_ControlBone_ctrl.lua that I have modified with succes (for now...

)
Code: Select all
local position = LM.Vector2:new_local()
position.x = masterBonePos.x
position.y = masterBonePos.y
----------------------------------------------------------------
--Control it
----------------------------------------------------------------
if (moho.frame ~= 0) then
local controlledbone = skel:Bone(controlledBoneID)
controlledbone.fAngle = ctrlAng + masterBoneAngle
controlledbone.fPos.x = ctrlAng + position.x
controlledbone.fPos.y = ctrlAng + position.y
controlledbone.fScale = ctrlScl + masterBoneScale
moho:Skeleton():UpdateBoneMatrix()
end
end
...I'm not sure if this is the best way but it WORKS! and I'm totally free now to change the way Master bones movement affect Controlled bones axis position se pa ra te ly

, and well, this is VERY important cause after the last 5.3.1 Moho update, the movement of Controled bones result inverted when you rotate (-180º i.e.) or Flip sub bone controlled Layers, so I had to see how and in a second the SO wanted scripts became practically useless to me... just after all that effort and time to get they works, you remember? Uf... When I discovered it was for me a great upset

and I abandoned the scripts pluged into something like a little
depression... WELL! But now seems that I can mend it so -->

, maybe adding and modificating some other (stoled) 7feet lines of code like:
Code: Select all
-- has the layer been flipped in a way we need to know about?
local flipH = moho.layer.fFlipH.value
local flipV = moho.layer.fFlipV.value
local layerFlipped = (flipH and not flipV) or (flipV and not flipH)
if layerFlipped then
position.x = -position.x
end
Well, this is of your great SF_LayerSound.lua script and I must go on investigating a little more... Something more complicated can be resolve the Layer Y/X Rotation issue but I think I could get it too with some luck and patience... We'll see... WELL!
THANKS for all (your advice of think in "_Vector2" objects like a table was the key

) and althought I'll treat to resolve (as possible...) all the problems by my self don't rule out have to make another little querys in the future... hmmm... SORRY in advance if it occurs

& CIAO!