I have a part that rotates using a tween. Connected via WeldConstraint to that part is an unanchored meshpart. When I tween the main part, the MeshPart doesn’t move with it despite being welded.
How do I fix this?
Tweens do not take welds into account, you would have to cframe it instead or just have a seperate tween for the unanchored meshpart.
1 Like
Just want to add more information: Modifying the Position
(or Rotation
) property does not cause constraints to update, but CFrame
does. You can use CFrame.new(targetPosition) * CFrame.Angles(part.Rotation.X, part.Rotation.Y, part.Rotation.Z)
to calculate the CFrame for the position without modifying the rotation.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.