Ability to limit Constraints such as AlignPosition to specific axes

AlignPosition offers many benefits over BodyPosition, but one fundamental feature it is currently lacking is the ability to prevent the constraint from acting upon specific axes. BodyPosition allows you to set the MaxForce as a Vector3, limiting the effectiveness of the object on different axes.

Currently, if I want to have AlignPosition only act upon the Y axis, I simply can’t.

e.g. For AlignPosition, a Vector3 property ranging from 0-1 on each axis could determine how effective it is.

I believe other constraints would benefit from such a feature, as BodyMovers are currently superior to constraints in these situations.

32 Likes

Please consider this feature!

Constraints, in a lot of ways, are meant to replace BodyMovers. AlignPosition is a stand-in for BodyPosition but lacks the key feature of being able to limit which axes it can act on (with BodyPosition this is done by setting the forces of specific axes to 0). This addition to AlignPosition would give us a missing element to make them true replacements.

10 Likes

I’ve come across the need for this. I have a starship and I want to control its roll, pitch, and yaw torque / max velocities separately. It was suggested I use an AlignOrientation, but the most I can control is one axis – the other two have to be rigid.

I tried using a chain of proxy parts and Hinges to control the rotation of the starship individually on each axis, but this only worked when the root proxy was anchored. If it wasn’t, the proxies would rotate instead of the ship because they’re less massive. I obviously don’t want a moving ship to be anchored – then I’d have to move it without physics.

If I could apply AlignOrientation per-axis, I would be able to accomplish this without having to anchor the ship.

7 Likes

This was one of the plus of both bodyposition and bodygyro, and it would be very useful to have this on alignposition and alignorientation without having to fall back to legacy bodymovers.

1 Like

Are there any plans to implement this or are we expected to eternally use BodyMovers?

1 Like

Yeah, I’ve also run into an issue where I’m trying to align 2 objects but only in 2 axes, and it’s not possible with AlignPosition

1 Like

Any news about this?

Still need to use BodyPosition to lock a part on 1 axis.

4 Likes

Please consider adding this! It’s really frustrating working with the new constraint system because of the limitations such as this as opposed to BodyMovers. If BodyMovers are being put under “Legacy” status, we should be able to continue to have access to the benefits of the BodyMovers.

4 Likes