What does :GetPivot() return exactly?

I’m trying to learn about Pivots and PVInstance, and i just trying to figure out what the last 9 digits are returned in :GetPivot()

player = game:GetService("Players").LocalPlayer

local adding = Vector3.new(10,10,10)

print(player)

local character = player.Character or player.CharacterAdded:Wait()

print(player.Character:WaitForChild("Humanoid").RootPart.Position + adding)
print(character:GetPivot()+adding)

most of the code is just me doing some testing stuff, i’m new, but what I’m primarily interested in is what the two lines returned in the print statements

16:19:23.827 10.216829299926758, 13.999728202819824, 14.25175952911377 - Client - LocalScript:9
16:19:23.827 10.2168293, 13.9997282, 14.2517595, 1, 0, 0, 0, 1, 0, 0, 0, 1 - Client - LocalScript:10

I would think it has something to do with Cframe, or some sort of rotation but I’m not certain and I’m sure that whatever does come out of it will be beneficial for me to learn about

GetPivot returns a CFrame. For more info about the last 9 numbers, you should read this.

The first 3 digits are the positional vector coordinates (x,y,z). The latter 9 are to do with rotation. This is true of any CFrame.

This is a good guide:

Also good:

I’m pretty sure CFrames represent an Orthogonal Group, so if you want to read more about that:

2 Likes