Page 1 of 1

Set spidertron body orientation

Posted: Tue Jan 05, 2021 3:50 pm
by Xorimuth
Currently Spidertrons cannot have their orientation/direction set and their `supports_direction` is false. Whilst this make sense (spidertrons are complex entities!), it means that when you create them with `surface.create_entity` they are always in exactly the same position and orientation.

I'd like to at least be able to change the direction that their head is facing.

Re: Set spidertron body orientation

Posted: Tue Jan 05, 2021 5:47 pm
by Rseding91
Ok, I added LuaEntity::torso_orientation read/write for the next release.

Re: Set spidertron body orientation

Posted: Tue Jan 05, 2021 5:55 pm
by Xorimuth
Brilliant! Hopefully I won't be waiting as long for this release as I had to for all the 1.1.0 implemented mod requests :lol: