On 06/08/2017 at 15:54, xxxxxxxx wrote:
Hello,
I am trying to figure out how to access the axis, global or local matrix of an object, after deformation, for example after it has been affected by an effector set to deformation: Object mode.
Do effectors create a deformed cache when used in this mode? I seem to get a none type object when I try to access it..
import c4d
target = op[c4d.ID_USERDATA,1]
def main() :
print target
DC = target.GetDeformCache()
DCM = DC.GetMl()
op.SetMl(DCM)
I also tried to get the deformed cache using the recursion functions in a previous thread I posted about getting deformed points: thread
But it again returns a none type object, which makes me question what the effector is doing when set to deform mode?