Merge pull request #992 from katharostech/look-at-node-euler

Make the Output of the Look At Node Euler Rotation
This commit is contained in:
Lubos Lenco 2018-11-03 15:45:13 +01:00 committed by GitHub
commit 5145505fbf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,6 +23,6 @@ class LookAtNode extends LogicNode {
v2.setFrom(vto).sub(vfrom).normalize();
q.fromTo(v1, v2);
return q;
return q.getEuler();
}
}