Update leenkx/Sources/leenkx/logicnode/TransformNode.hx
This commit is contained in:
parent
c6139282ed
commit
ee8d3314b5
@ -18,7 +18,7 @@ class TransformNode extends LogicNode {
|
||||
override function get(from: Int): Dynamic {
|
||||
var loc: Vec4 = inputs[0].get();
|
||||
var rot: Quat = new Quat().setFrom(inputs[1].get());
|
||||
rot.normalize();
|
||||
//rot.normalize();
|
||||
var scale: Vec4 = inputs[2].get();
|
||||
if (loc == null && rot == null && scale == null) return this.value;
|
||||
if (loc == null || rot == null || scale == null) return null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user