Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to get a position out of a CFrame value to convert it to Vector3?

Asked by 4 years ago

I'm trying to get the position of the camera and use it in a vector3 value for a bodygyro but CFrame isn't vector 3 so how do I convert it?

1
Part.Cframe.Position Vortex_Vasne 89 — 4y
0
BodyGyro.CFrame ignores the position component entirely, it only uses the rotation part. EmilyBendsSpace 1025 — 4y

1 answer

Log in to vote
1
Answered by 4 years ago

Converting CFrame into Vector3 is as simple as going part.CFrame.Position

Ad

Answer this question