The hinge can be rotated 360 using a script

Xardkort shared this bug 18 months ago
Solved

        public Program()
        {
            Runtime.UpdateFrequency = UpdateFrequency.Update100;
        }
        public void Main(string argument, UpdateType updateSource)
        {
            List<IMyMotorStator> rotors = new List<IMyMotorStator>();
            GridTerminalSystem.GetBlocksOfType(rotors);
            foreach (var r in rotors)
            {
                r.UpperLimitRad = float.MaxValue;
                r.LowerLimitRad = float.MinValue;
            }
        }
LowerLimitRad - Gets or sets the lower angle limit of the rotor in radians. Set to float.MinValue for no limit.

Replies (3)

photo
1

I just discovered that you can set any value > 90 / < -90

photo
1

Hello, Xardkort,


thank you for the script and images. I reported the issue into our internal system.


Kind regards,

Keen Software House: QA Department

photo
1

Hello Engineer,


We’re pleased to inform you that this issue has been resolved in version 205.


As such, we’ll be closing this thread.


If you encounter any other issues with the game, please don’t hesitate to start a new thread here on the forum—we’re always happy to assist!


Happy engineering!


Kind regards,

Keen Software House - QA Department

Leave a Comment
 
Attach a file