Entity::Rotate(entity)
Entity::Rotate(entity)
Currently the only way to rotate things is fast replacing in another direction, and that doesn't work with some things (splitter, underground belts), so it's quite iffy. Rotating underground belts should reverse their direction (input/output), just like using the R key does.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: Entity::Rotate(entity)
Added for 0.16:
If you want to get ahold of me I'm almost always on Discord.