Notifications
Clear all

[Closed] "in coordsys" without creating any nodes

Hi!

I have a matrix and a point3 value. I need to find the point3 value in the coordsys of the matrix without generating a node to represent my point3 value in the scene. IS this possible?

3 Replies
1 Reply
(@robgalanakis)
Joined: 11 months ago

Posts: 0

[ in ] coordsys <matrix3>

You have to multiply the point with the matrix:

mat1 = matrix3 [1,0,0] [0,1,0] [0,0,1] [30,15,2]
p1 = point3 0 0 0
p2 = p1 * mat1
–[30,15,2]

1 Reply
(@daxiid)
Joined: 11 months ago

Posts: 0

Thank you very much!

I feel quite dumb now. Hadn’t thought about it this way.