package arm.node; @:keep class TrackCamera extends armory.logicnode.LogicTree { var functionNodes:Map; var functionOutputNodes:Map; public function new() { super(); name = "TrackCamera"; this.functionNodes = new Map(); this.functionOutputNodes = new Map(); notifyOnAdd(add); } override public function add() { var _TranslateObject_002 = new armory.logicnode.TranslateObjectNode(this); var _IsTrue_001 = new armory.logicnode.IsTrueNode(this); var _OnKeyboard_001 = new armory.logicnode.OnKeyboardNode(this); _OnKeyboard_001.property0 = "Started"; _OnKeyboard_001.property1 = "e"; _OnKeyboard_001.addOutputs([_IsTrue_001]); _IsTrue_001.addInput(_OnKeyboard_001, 0); _IsTrue_001.addInput(new armory.logicnode.BooleanNode(this, true), 0); _IsTrue_001.addOutputs([_TranslateObject_002]); _TranslateObject_002.addInput(_IsTrue_001, 0); _TranslateObject_002.addInput(new armory.logicnode.ObjectNode(this, ""), 0); var _Vector_003 = new armory.logicnode.VectorNode(this); var _Float_002 = new armory.logicnode.FloatNode(this); _Float_002.addInput(new armory.logicnode.FloatNode(this, 40.0), 0); var _Math_002 = new armory.logicnode.MathNode(this); _Math_002.property0 = "Multiply"; _Math_002.property1 = "false"; _Math_002.addInput(_Float_002, 0); _Math_002.addInput(new armory.logicnode.FloatNode(this, -1.0), 0); var _Vector_002 = new armory.logicnode.VectorNode(this); _Vector_002.addInput(_Math_002, 0); _Vector_002.addInput(new armory.logicnode.FloatNode(this, 0.0), 0); _Vector_002.addInput(new armory.logicnode.FloatNode(this, 0.0), 0); var _TranslateObject_003 = new armory.logicnode.TranslateObjectNode(this); var _IsTrue_002 = new armory.logicnode.IsTrueNode(this); var _OnKeyboard_002 = new armory.logicnode.OnKeyboardNode(this); _OnKeyboard_002.property0 = "Released"; _OnKeyboard_002.property1 = "e"; _OnKeyboard_002.addOutputs([_IsTrue_002]); _IsTrue_002.addInput(_OnKeyboard_002, 0); _IsTrue_002.addInput(new armory.logicnode.BooleanNode(this, true), 0); _IsTrue_002.addOutputs([_TranslateObject_003]); _TranslateObject_003.addInput(_IsTrue_002, 0); _TranslateObject_003.addInput(new armory.logicnode.ObjectNode(this, ""), 0); _TranslateObject_003.addInput(_Vector_002, 0); _TranslateObject_003.addOutputs([new armory.logicnode.NullNode(this)]); _Vector_002.addOutputs([_TranslateObject_003]); _Math_002.addOutputs([_Vector_002]); _Float_002.addOutputs([_Math_002, _Vector_003]); _Vector_003.addInput(_Float_002, 0); _Vector_003.addInput(new armory.logicnode.FloatNode(this, 0.0), 0); _Vector_003.addInput(new armory.logicnode.FloatNode(this, 0.0), 0); _Vector_003.addOutputs([_TranslateObject_002]); _TranslateObject_002.addInput(_Vector_003, 0); _TranslateObject_002.addOutputs([new armory.logicnode.NullNode(this)]); var _SetLocation = new armory.logicnode.SetLocationNode(this); var _OnUpdate = new armory.logicnode.OnUpdateNode(this); _OnUpdate.property0 = "Update"; _OnUpdate.addOutputs([_SetLocation]); _SetLocation.addInput(_OnUpdate, 0); _SetLocation.addInput(new armory.logicnode.ObjectNode(this, "TrackCamera"), 0); var _GetLocation = new armory.logicnode.GetLocationNode(this); _GetLocation.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0); _GetLocation.addOutputs([_SetLocation]); _SetLocation.addInput(_GetLocation, 0); _SetLocation.addOutputs([new armory.logicnode.NullNode(this)]); } }