Notifications
Clear all

[Closed] matrix 3 transform?

Why is this not working correctly? the position/rotation is not correct.


d = dummy()
d.transform = getViewTM()

EDIT:
Kind of solved it.


d = dummy()
d.pos = (inverse(getViewTM())).row4
d.dir = -(inverse(getViewTM())).row3