Page 1 of 1

Reverse rolling stock orientation

Posted: Mon Apr 16, 2018 1:11 am
by sparr
I want to be able to write to .orientation, specifically the opposite of its current orientation, for rolling stock and get the same result as doing a [R]otate GUI interaction with it.

Re: Reverse rolling stock orientation

Posted: Fri May 11, 2018 2:46 am
by Rseding91
You can already do that by calling entity.rotate() on any rolling stock.

Re: Reverse rolling stock orientation

Posted: Sun May 13, 2018 3:22 am
by sparr
That means my entity-rotation code needs a special case for rolling stock, the only smooth-orientable entity that doesn't allow reversing by writing to .orientation :/