Servo doesn't turn all the way to Target Angle

My Hinge Constraint set to Servo type does not turn all the way to the target angle, and has to instead be constantly updated to accommodate this.

Here is a gif showing it: https://s6.gifyu.com/images/S8zu4.gif

It should be noted that this only occurs when the AngularSpeed is set to less than 1. If it is 1 or more then it works fine, however for the purposes I need it for it must be less than 1.

1 Like

Hey!

I see that you’re facing an issue with a Hinge Constraint set to the Servo type in Roblox, where it doesn’t turn all the way to the target angle, and you’re having to constantly update it to compensate for this behavior. This problem seems to be related to the AngularSpeed parameter, and it’s especially noticeable when it’s set to less than 1. To address this issue, you can follow these steps:

First, consider whether it’s absolutely necessary to use an AngularSpeed value less than 1 for your specific purposes. If setting AngularSpeed to 1 or more doesn’t affect your game adversely, it might be worth considering this as a temporary solution. While it might not be ideal for your desired effect, it can be a workaround to ensure your game works as intended.

If adjusting AngularSpeed isn’t an option, you can explore scripting solutions. This involves creating a custom script to control the hinge’s movement more precisely. By using scripting, you can fine-tune the hinge’s behavior, even with lower AngularSpeed values, to reach your target angles accurately.

Another avenue to explore is to review the constraints and limits set on the Hinge Constraint. Ensure that they are appropriately configured, as incorrect settings can affect the hinge’s behavior. Verify that the hinge’s pivot point and axis are correctly aligned with your intended movement.

Hope this helps!

1 Like

It turns out this does in fact happen with more than 1 AngularSpeed