Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to I get the X,Y,Z position of a C0?

I have tried stuff like

lspos = ls.C0
rspos = rs.C0
lspos = ls.C0.Positon
rspos = rs.C0.Position
lspos = ls.C0.CFrame
rspos = rs.C0.CFrame

rs = right shoulder ls = left shoulder

1 answer

The C0 property of a JointInstance is a CFrame.

We can see (above link) that CFrames have a p property which is a Vector3 which has the x, y, and z properties you are looking for.

(Note that this position will be in the object space of one of the parts)

5 comments

0

will this work for angels?

0

angles*?

0

Be more specific . . . What does "work" mean in this context?

0

will it be able to get the values of the angles?

0

That isn't more specific.

This discussion is preserved as it was. New answers, comments, and votes are closed.