On 22/11/2017 at 16:37, xxxxxxxx wrote:
Originally posted by xxxxxxxx
MODATA_LASTMAT doesn't give you the previous matrix
I just ran into this as well. It seems very odd to me, because the documentation says it should.
MODATA_LASTMAT Matrix Previous frame particle matrix.
Yet, this is what I get when I print each of these matrices:
---
Frame 1
Current: Matrix(v1: (1, 0, 0); v2: (0, 1, 0); v3: (0, 0, 1); off: (-211.111, 4.67, -211.111))
Last: Matrix(v1: (1, 0, 0); v2: (0, 1, 0); v3: (0, 0, 1); off: (0, 0, 0))
Start: Matrix(v1: (1, 0, 0); v2: (0, 1, 0); v3: (0, 0, 1); off: (-211.111, 0, -211.111))
---
Frame 2
Current: Matrix(v1: (1, 0, 0); v2: (0, 1, 0); v3: (0, 0, 1); off: (-211.111, 4.377, -211.111))
Last: Matrix(v1: (1, 0, 0); v2: (0, 1, 0); v3: (0, 0, 1); off: (0, 0, 0))
Start: Matrix(v1: (1, 0, 0); v2: (0, 1, 0); v3: (0, 0, 1); off: (-211.111, 0, -211.111))
---
Frame 3
Current: Matrix(v1: (1, 0, 0); v2: (0, 1, 0); v3: (0, 0, 1); off: (-211.111, 4.039, -211.111))
Last: Matrix(v1: (1, 0, 0); v2: (0, 1, 0); v3: (0, 0, 1); off: (0, 0, 0))
Start: Matrix(v1: (1, 0, 0); v2: (0, 1, 0); v3: (0, 0, 1); off: (-211.111, 0, -211.111))
---
Frame 4
Current: Matrix(v1: (1, 0, 0); v2: (0, 1, 0); v3: (0, 0, 1); off: (-211.111, 3.709, -211.111))
Last: Matrix(v1: (1, 0, 0); v2: (0, 1, 0); v3: (0, 0, 1); off: (0, 0, 0))
Start: Matrix(v1: (1, 0, 0); v2: (0, 1, 0); v3: (0, 0, 1); off: (-211.111, 0, -211.111))
---
Frame 5
Current: Matrix(v1: (1, 0, 0); v2: (0, 1, 0); v3: (0, 0, 1); off: (-211.111, 3.433, -211.111))
Last: Matrix(v1: (1, 0, 0); v2: (0, 1, 0); v3: (0, 0, 1); off: (0, 0, 0))
Start: Matrix(v1: (1, 0, 0); v2: (0, 1, 0); v3: (0, 0, 1); off: (-211.111, 0, -211.111))