Applying Torque On Specific Axis

I am trying to apply yaw to an aircraft, I am currently using the torque constraint and it works fine until the aircraft begins to rotate. The yaw then begins to seep into other axis making it uncontrollable. Example video:

The settings of the torque constraint:
image

I have messed with all of the RelativeTo settings and even used the angularvelocity constraint but the end product is all the same. I assume it has something to do with how the mass is taken into accord with the force of torque causing it to act weird. I just can’t place my finger on it and my internet searches came up pretty dry. I am trying to see if I can avoid the Align Orientation constraint because it has been nothing but a nightmare to work with the system I put in place.

Any advice is appreciated!

After experimenting, using the AngularVelocity with the following settings worked exactly as I needed:

MaxTorque: inf
RelativeTo: Attachment0
Attachment0: Set to the aircraft base

Then in the script just change the velocity vector like:

angularVelocityConstraint.AngularVelocity = Vector3.new(x, y, z) 

Hope this helps anyone in the future!

1 Like

Setting RelativeTo to Attachment0, and then just setting Torque to Vector3.new(0, theTorque, 0) should work AFAIK

2 Likes

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