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

Setting a Camera's Position via script?

I used this to get the pos. that I am looking at.

print(game.Workspace.CurrentCamera.CoordinateFrame);

This was the output:

-188.173126, -187.572937, -91.4719162, 0.939729571, 0.158438265, -0.30299449, -0, 0.886159658, 0.463380009, 0.341918647, -0.435451895, 0.83275038

Then I placed this in my script to set it to that position:

CurrentC.CoordinateFrame = (-188.173126, -187.572937, -91.4719162, 0.939729571, 0.158438265, -0.30299449, -0, 0.886159658, 0.463380009, 0.341918647, -0.435451895, 0.83275038)

It did not work and gave me error(s).

1 comment

0

Answers which answer your question should be marked as such (green check mark). That goes for this thread, your previous thread, and all future ones.

1 answer

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