Hello, I’m not sure if this is related but this morning when I tried to update my place I made it public yet it’s not going public for others this is the ID: 4732474971
Unfortunately this is not the issue in your case; this feature is not currently activated unless requested here, so it does not have any effect on you.
I’m always glad bugs are being fixed!
I’d love to test this in my game, we rely heavily on hinges and servos.
place id: 3087031540 (for game 1657749123)
A lot of people in my game use blocks that contain servo motors, this is the placeID i’d like to test in.
2546612479
I have found this shortest path behavior annoying and limiting because it assumes that the output of the servo is 1:1 with the output of the machine that the servo is used in.
Consider a rack and pinion assembly driven by a servo on the pinion. If the rack moves 2 studs for every rotation of the pinion, one would expect to be able to move the rack to the 6 studs by setting the servo target angle to 1080 degrees. This is impossible because of shortest path behavior. It is also not possible to set relevant limits on the pinion, because limits are constrained to +/-180.
In this gif, the pinion is set to 90, then 180, then 360, then 0. When it is set to 0 from 360, there is no movement. If I had attempted to set the angle directly to 360 from 0 without “in between” positions, there would have been no movement.
This is a slightly contrived example because I could use a prismatic servo for this case, but it demonstrates the problem well. I have seen this problem in the wild in building games where users can set up servos with limits. This issue can in some cases cause the servos to not rotate as the user expects, which causes issues with their creations.
If servos are being revised, I would hope they would be looked at with consideration for this limitation. Perhaps an alternative operating mode that treats rotation as linear space only and will never consider wrapping around.
I use HingeConstraints with Servo Actuators and LimitsEnabled for vehicles in my game Explore & Craft.
I don’t have issues right now, so I hope this doesn’t break my game.
Place ID: 5644451718
My buses use HingeConstraints and Limits for doors and windscreen wipers.
Place ID: 4636955314
The current bug-fix indeed addresses the issue with the servo taking the shortest path; However, the servos still work in the space of [-180,180], and your request must be considered in a separate feature release.
The feature is now activated in the following places:
461287719;
3933153756;
4797048909;
5644451718;
2546612479;
3087031540
Thank you for activation!
Everything that uses servos and hinges still seems to be working as expected!
The bug-fix is activated in this place as well.
Thanks. Just went in-game for some quick tests and found the doors still work except once fully open or closed they will randomly twitch a little bit. I’m guessing this is because I set the target angles for the doors to exactly the limit.
Eg if my door is in the open position when TargetAngle = 90 and closed is at 0 I have Lowerangle set to 0 and Upperangle set to 90 exact. Then a script is responsible for changing the TargetAngle to open or close the door. I guess I could work around this by setting my limits to -2 and 92 to give a bit of breathing room.
Edit: I took a quick video showing the twitching it is really prominent on this bus in particular.
robloxapp-20210104-2114118.wmv (2.5 MB)
Hi there, can you please enable this bug-fix also on my place?
ID: 4492116839
I have made some minor changes and the feature is now activated everywhere. Could you please take another look and let me know if you see the issue?
If you could reproduce the issue in a simple Roblox model that only has a few parts and a hinge that would let me inspect the issue better if it still exists.
The feature should be activated now
Sorry I’m afraid not. I actually reworked my doors so they do not use LimitsEnabled to stay in the correct positions they now just use a high torque value.
I would like to echo what was said above. My own doors also use servos and they have not been fixed. I too am using a temporary torque fix to replicate this bug fix.
Increasing maximum torque to some reasonably large value is actually needed in order to get correct behavior from servos, i.e. with small torques servos won’t be able to properly achieve the desired angle
Hello! I’d like to activate this beta for my place.
Place Id: 6004108409
Direct Place URL: nul - Roblox
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.