5

How can I move an object in its local transform orientation in animation nodes?

There is a way using some math with rotation of the object as an input,but I want to know if there is an easier way to do it in animation nodes.

Omar Emara
  • 22,639
  • 5
  • 55
  • 103
  • Can you closer specify what you would like to achieve? –  Jun 09 '16 at 11:54
  • 1
    I want to move an object in it's local transform orientation,means if the object is rotated 45 degree in the x axis and i want to move it in it's local transform orientation,it will move along the axis of the new rotation. – Omar Emara Jun 09 '16 at 12:51

1 Answers1

2

I think you can make use of Matrix nodes:

enter image description here

Note that the order to combine Translation and Rotation matrix data is the key here.

Leon Cheung
  • 27,718
  • 11
  • 89
  • 161