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:
commit
5145505fbf
|
@ -23,6 +23,6 @@ class LookAtNode extends LogicNode {
|
|||
v2.setFrom(vto).sub(vfrom).normalize();
|
||||
|
||||
q.fromTo(v1, v2);
|
||||
return q;
|
||||
return q.getEuler();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue