How to prevent character rotating with align orientation?

Hey guys! I wanna create arm lifting system but stuck on this problem. I ragdolled arms for character using ball sockets and disabled motor 6ds, the ragdoll works but when i made system what lifts arms by align orientation, character started rotating when i lift arms
The properties of align orientation:
PrimaryAxisLookAt;
Limits Disabled;
Mode Two Attachment (lifts grip attachment, makes it look in attachment in torso positioned above arm)
ReactionTorque - Enabled;
MaxAngularVelocity inf;
MaxTorque 10k;
Responsiveness 10.
(Character rotates horizontally, like spining)

2 Likes

add another align orientation for the torso / humanoid root part. set attachment1 to root rig attachment and set attachment two to a custom attachment in front of the root rig attachment. Set responsiveness to 10 and rigidityenabled to on

Are the AlignOrientation Attachments aligned properly? While testing turn the Show Constraints tool on so you can see the alignment in game.

Is Attachment0 the Torso or the arm? Attachment1 should be the Torso, and Attachment0 the arm, with ReactionTorque disabled.

Check this documentation to see the differences of all the Properties.
AlignOrientation
AlignOrientation Class

By the way, if both of your attachments are parented to parts which are influenced by each other : e.g the torso and the right hand, your character will spin forever as the attachment can never align with an attchment that is rotating away from it

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.