Can someone tell me what C0 and C1 properties are?

I’ve seen multiple youtube videos and guides but none of them explain exactly what C0 and C1 properties are. I’ve also checked the api and its just very confusing. I would appreciate it if anyone would explain it to me properly in simple language.

Thanks in advance!

2 Likes

A Weld is really a point in space.

C0 is the position of that point, relative to Part0.

C1 is the position of that point, relative to Part1.

So if C0 = CFrame.new(1, 0, 0), and C1 = CFrame.new(-2, 0, 0), the weld’s position is 1 stud to the right of Part0, and 2 studs to the left of Part1. Meaning that Part1 is 3 studs to the right of Part0.

12 Likes

So is it possible to move/rotate a part by changing those properties? If so, then how?

Your best bet is to learn by yourself, try setting a C0 joint to an empty cframe using CFrame.new() and notice what happens.

2 Likes