New particle system

yay
If you need to use the optimized version as you say, you can just set the
world transform of the entity or modify it directly. The lookAt method is
easier to use because you don't have to do all the math to calculate the
look at vector. An example is Unity's transform class which only has a
LookAt method and not a SetLookAt vector.

On Thu, Sep 25, 2014 at 10:07 PM, guycalledfrank <notifications@github.com>
wrote:

> In src/scene/scene_graphnode.js:
>
> > @@ -1078,6 +1115,37 @@ pc.extend(pc.scene, function () {
> >              }
> >          }(),
> >
>
> This is exactly the reason setLookVector should be here - because it's
> essential and not the special case. I'd rather remove lookAt, because it
> does more things than setLookVector, and if you really need to do lookAt,
> you can sub points and normalize manually. Why the heck do I need to call
> function that does redundant job to achieve a simple result? JS isn't the
> fastest language out there.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/playcanvas/engine/pull/42/files#r18052919>.
>