Page 1 of 1

Inmune to Camera Movements Always Available

Posted: Tue Nov 16, 2004 1:11 am
by Rai López
Sorry but I don't know, It'd be possible in the future that "Inmune to Camera Movements" could be activated in a layer inside a group? I think that this would be very useful to, for example, get interesting static texture effects using masking (for example). And, of course (if it's possible), everybody would be free to activate it or not, this kind of features never bother! (I think).

Posted: Sat Jul 08, 2006 5:56 pm
by Víctor Paredes
i agree. this would be really really useful to me.

Posted: Sat Jul 08, 2006 5:58 pm
by Víctor Paredes
inmune to all movements. even his parent group movement. that would be really really really useful.

Posted: Sun Jul 09, 2006 10:54 pm
by Fazek
Ramón,

You should try to write a Layerscript to compensate the layer's movement. I think the logic of "moving the parent moves the child" not permits the feature you want. So maybe a new option needed (also to remain compatible with the old files).

Posted: Tue Jul 11, 2006 2:53 pm
by Víctor Paredes
fazek, what this means?
there is not possibility to make an script to solve it?

Posted: Wed Jul 12, 2006 12:15 am
by Fazek
It means just LM cannot change the behaviour of the existing option, they must create a new one.

It is possible to write a layerscript, but it is not easy. Sorry if this is so technical. There is no pre-calculated transformation matrix for the layer. The instancing script I wrote already, follows all movements except the layer and camera transformations. These are a bit hidden and I think must be calculated from the layer's and parents' animated channels. I never checked but maybe the moho:GetFullTransform() does this in the Layerscript, if so, easy to calculate.