I’m trying to set the color of the debug lines, but this does not lead to anything, the color of the debug lines does not change.
var v1 = iron.Scene.active.getChild("player").transform.world.getLoc();
var v2 = iron.Scene.active.getChild("ai").transform.world.getLoc();
draw.color = 0x2ed924;
Could you try constant values if there is any defined ?
static var col:Color = 0x22ff00; // this not affect…
// set color
You can create an issue on Armory Github, perhaps color will work for 0.6 release.
is there an extra paren at the end ? Or is that how this language is written?
The paren at the end is the one that matches with the
notifyOnRender function, so that is right.
I looked at the code DebugDraw class, the color is not used in it:
Hehe nice catch, will fix that.