Page 1 of 1
[0.15.11] Can't rotate inoperable entity
Posted: Wed May 17, 2017 4:26 pm
by GotLag
Is this a bug or intentional? In Flow Control I set the pipe segments (storage-tank entities) to operable = false to stop the GUI coming up. In sandbox mode (no player entity), they can still be rotated after placement (i.e. when operable = false). If the player has a character then they cannot be rotated while inoperable.
Is this an intentional change?
Re: [0.15.11] Can't rotate inoperable entity
Posted: Wed May 17, 2017 11:01 pm
by Rseding91
It's not intended. There's also a rotatable value which is meant to control if something can be rotated. Fixed for the next version of 0.15.
Re: [0.15.11] Can't rotate inoperable entity
Posted: Thu May 18, 2017 2:09 am
by GotLag
Thanks. Still, I'm a little curious as to why this only affects corporeal players.
Re: [0.15.11] Can't rotate inoperable entity
Posted: Thu May 18, 2017 2:51 am
by Rseding91
GotLag wrote:Thanks. Still, I'm a little curious as to why this only affects corporeal players.
The god controller and the character controller both have their own "can rotate entity" methods that check distance to the entity. The character controller is limited by the character reach and the god controller isn't.
The check for operable existed in the character version of the method but not the god version.