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

What is the difference between "model:GetPrimaryPartCFrame()" and "model.PrimaryPart.CFrame"?

While I was manipulating my NPC's CFrame, I noticed that there are two ways of getting model's CFrame. Is there any diffrence between them?

1 answer

✓ Accepted answer

There's basically no difference.

As the api reference states:

This function [GetPrimaryPartCFrame] is equivalent to the following.

Model.PrimaryPart.CFrame

You can do any one you want.

2 comments

0

Thank you so much :)

0

No problem.

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