a better place for this sort of question)

Hi,

Using TranslationMatrix is giving me quite a hard time.

Code: Select all

```
## --- example code
v_a = Blender.Mathutils.Vector(1, 0, 0 ,0)
v_b = Blender.Mathutils.Vector(0, 1, 0 ,0)
m_t = Blender.Mathutils.TranslationMatrix(v_a)
```

Code: Select all

`print(m_t)`

Code: Select all

```
[1.000000, 0.000000, 0.000000, 0.000000](matrix [row 0])
[0.000000, 1.000000, 0.000000, 0.000000](matrix [row 1])
[0.000000, 0.000000, 1.000000, 0.000000](matrix [row 2])
[1.000000, 0.000000, 0.000000, 1.000000](matrix [row 3])
```

I proceed anyway, following the documentation, and I multiply the vector by the matrix

(I would have rather done Mv rather vM but since we already have

a transpose, I assume that what I know does not apply to the python API...)

Code: Select all

`print(v_b * m_t)`

Code: Select all

`[0.000000, 1.000000, 0.000000](vector)`

Code: Select all

```
m_t.transpose()
m_t * v_b
```

Code: Select all

`[0.000000, 1.000000, 0.000000](vector)`

Thanks,

rm.