AJU creates constraints and JointRotation attachments, that don't pair with IKConstraint like they do in Motor6D even with IsKinematic

Description

There are BallSocketConstraint and there are some Attachment instances named JointRotation, that the BallSocketConstraint seem to use.

There’s no way to configure whether the BallSocketConstraint should be enabled by default or not.

When you create IKControls if you toggle individual BallSocketConstraint off, you’ll see that the libs move at a different position. So, the BallSocketConstraint seems to influence the IKControls. Previously, there were only Motor6D with no BallSocketConstraints. If there were BallSocketConstraints, then they were most likely disabled, and not enabled at all times.

AvatarJointUpgrade creates AnimationConstraint but it also creates BallSocketConstraint and also adds attachments named JointRotation at a few places. And the BallSocketConstraint are always enabled. There’s no way to configure the default behavior for these, without hackery of scripts.

Now, IKControls could be present on Motor6D as well, but they didn’t cause these issues. So, like what.

Re-production Steps

See the Videos and .rbxm file in the Private Message

  • Drag the .rbxm file into the Workspace
  • F8 to start Server view only test.
  • Go to RightHand and toggle the BallSocketConstraint on and off, to observe.

Expected Result

I don’t even know if this is intended. But the BallSocketConstraint weren’t ever there before.

The arms are meant to be in the position as they get put in by the IKConstraint when the BallSocketConstraint is turned off.

Actual Result

Roblox said that IsKinematic is turned on to avoid things breaking and so that everything is normal. But with the BallSocketConstraint not everything is normal, when it’s paired with IKConstraint

A private message is associated with this bug report

Hello! We do expect IKControls to produce poses on avatars that are more correct now with the avatar joint ugprade.

IKControls do respect Constraint limits. We mentioned this in the AJU announcement but we don’t have it clearly noted in our documentation! We’ll update that.

In cases where you want to allow IKControls to bend limbs outside of the typical “biological” limits, you should be able to disable the BallSocketConstraints or their LimitsEnabled via script to get IKControl behavior that matched old R15 behavior.

That is the problem. The problem is that one should not do it through scripts. And here is why.

If you change Avatar Packages mid-run, let’s say the entire Right Arm. The Avatar System will replace aesthetic parts, e.g. RightHand and etc., but it will never tell you officially. You have to do things like ChildAdded and check all the names. If Roblox ever renames RightHand to RightHand2 or adds a new limb, it gets to stupid to have it as a script. It’s not redundant.

I am not only talking about with just BallSocketConstraints, in mind, but everything else related to limbs.

 

You also can’t assume that every BasePart added into the Model being part of a limb.

The keyword “aesthetic” is important here, it can be looked up in the Roblox Source Code, to find the R15 related thing.

Yes, currently if you dynamically change body parts often you’ll need to write code that keeps the new BallSocketConstraint.Enabled set to false. This is expected, since the BallSocketConstraints are designed to improve IKControl poses. If there is significant benefit to disabling these BallSocket IK limits automatically when swapping limbs, we can add an easier way to do it with minimal scripts! The best path forward is to file a Feature Request so we can track that and understand the demand.