I'm working on a plugin that is possibly the most infuriating project I've ever attempted. It seems like at every turn I run into some colossally painful bug that I can't do anything about, and I'm hoping this time is not the case.

To keep it short, it seems that whenever I try to get the position of the camera through a plugin, it always returns a position of 0,20,20. No matter the position, no matter how long I wait, no matter local or server script.

There's not much to show in the way of code, but these are all of the ways I've accessed it:

Workspace.CurrentCamera.CFrame
Workspace.Camera.CFrame
Workspace:WaitForChild("Camera").CFrame
Workspace:WaitForChild("CurrentCamera").CFrame
Workspace.CurrentCamera.CoordinateFrame
Workspace.Camera.CoordinateFrame
Workspace:WaitForChild("Camera").CoordinateFrame
Workspace:WaitForChild("CurrentCamera").CoordinateFrame

Any help on this will make you the single greatest person in my online life this entire year. Thanks!

3 comments

2

First of all.. You didn't finish each sentence.. example Workspace.Camera.CFrame <-- where is the rest O_o

0

Those are only the ways I referenced the position of the camera, I didn't actually introduce them within context.

0

If it helps, imagine a print() function surrounding each line.