New particle system

yay
But we have a setWorldTransform method so since you added a similar method
there (which btw should be named setFromLookVector like all the other
setter methods) you can set it like that in your code - no need for a
setLookVector method in the scene_graph. Again the aim is to keep the API
minimal and not have methods for special cases.

On Thu, Sep 25, 2014 at 9:53 PM, guycalledfrank <notifications@github.com>
wrote:

> In src/math/math_mat4.js:
>
> > @@ -423,6 +423,42 @@ pc.extend(pc, (function () {
> >                  return this;
> >              };
> >          }()),
> > +		
> > +		
>
> You select codeblocks to comment in a bit strange way - they not point to
> things you discuss sometimes. If you're talking about setLookVector, it
> sets the Z direction of the matrix. Originally you had lookAt function, but
> it accepts a target position and internally computes (target -
> pos).normalize vector. But sometimes you already have a vector (e.g. picked
> normal from physics engine) and you don't want to perform unnecessary
> computations.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/playcanvas/engine/pull/42/files#r18051915>.
>