LDCad 1.6a Animation crash


RE: LDCad 1.6a Animation crash
#8
(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.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
LDCad 1.6a Animation crash - by Jarema - 2018-03-11, 14:59
RE: LDCad 1.6a Animation crash - by Jarema - 2018-03-11, 18:38
RE: LDCad 1.6a Animation crash - by Joscha - 2019-01-06, 13:36
RE: LDCad 1.6a Animation crash - by Jarema - 2018-03-12, 10:55
RE: LDCad 1.6a Animation crash - by Roland Melkert - 2018-03-12, 18:38

Forum Jump:


Users browsing this thread: 1 Guest(s)