Does orientation work on chart tags?
Posted: Wed Oct 10, 2018 12:56 pm
Has anybody been able to get a chart tag to draw in anything other than left-to-right direction? I can't get the orientation part to work for the life of me. I've tried expressing it in radians as well as whole numbers and decimals.
Attempting to create a chart tag at a 45 degree angle
Documentation: https://lua-api.factorio.com/0.15.0/Lua ... rtTag.html
Any ideas guys or should I raise this in the bugs forum?
~DutchTed
Attempting to create a chart tag at a 45 degree angle
Code: Select all
/c game.player.force.add_chart_tag(game.player.surface, { position = game.player.position,
text = "This is a chart tag",
orientation = (2 * math.pi * (45/360))
}
Any ideas guys or should I raise this in the bugs forum?
~DutchTed