The hinge can be rotated 360 using a script

Xardkort shared this bug 16 months ago
Reported

        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 (2)

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

Leave a Comment
 
Attach a file