Attachment alignement issues


I’m trying to weld a wheel to a chassis but I’m having issues getting both attachments to face each other. The chassis has an attachment facing outwards where the wheel should go and the wheel has one that should align itself with the chassis attachment.

The problem is that I can’t get both attachment to face each other while keeping the local wheel rotation offset.

Weld.C0 =
Weld.C1 =

The code provided above only aligns their position but not their rotation.

This is how they should face each other while taking in accout the CFrame.Rotation property of the wheel attachment.


1 Like