title: Libgdx - how to rotate the emmition trail of a 3d particle
body: <p>I have encountered a problem while using libGDX 3D particles.</p>
  
  <p>I wanted to change the direction the particles are being emitted. </p>
  
  <p>I tried </p>
  
  <pre><code>effect.rotate(new Vector3(0, 1, 0));
  </code></pre>
  
  <p>when my particle starts at point (1, 0, 1), and the emission goes towards -x;
  which only rotated the spawn point of the particles but NOT the direction of the emitted particles</p>
  
  <p>I also tried the matrix4 way </p>
  
  <pre><code>targetMatrix.idt();
  targetMatrix.setToRotation(...);
  </code></pre>
  
  <p>and</p>
  
  <pre><code>targetMatrix.rotate(...);
  </code></pre>
  
  <p>however none of them did what I wanted it to do.</p>