(2018-03-12, 10:55)Jarema Wrote: How extract informations about sub-model parts via LUA Script ? Because animate sub-model as one object break animation.
You can follow the references recursively trough someRef:getSubfile(), someSubfile:getRefCount(), someSubFile:getRef(index).
But the matrices/positions inside that will be relative, so you need to multiply with the higher ref's matrix.
Alternative is to use groups as they automatically manage absolute matrices.
This will only go as expected for single used submodels though.