[0.11.19] [kovarex] LUA - Ghosts are not aligned to the grid
Posted: Thu Mar 26, 2015 5:10 pm
When I create a ghost entity by game.createentity, it is not aligned to the grid properly (it is aligned to grid lines, instead of center of the tile):
results in: http://i.imgur.com/s9t6vBW.png
The ghost should be between grid lines. It does not matter whether you create ghost in a mod or in the console.
Code: Select all
/c game.createentity{ name = "ghost", innername = "fast-transport-belt", position = game.player.position, direction = 0, force = game.player.force }
The ghost should be between grid lines. It does not matter whether you create ghost in a mod or in the console.