CoordinateFrame (Property): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
m (Text replacement - "</SyntaxHighlight>" to "</syntaxhighlight>") |
m (Text replacement - "<SyntaxHighlight code="lua">" to "<syntaxhighlight lang="lua">") |
||
Line 7: | Line 7: | ||
{{clear floats}} | {{clear floats}} | ||
{{Example|In a LocalScript:< | {{Example|In a LocalScript:<syntaxhighlight lang="lua"> | ||
Workspace.CurrentCamera.CoordinateFrame = CFrame.new(0, 0, 0) | Workspace.CurrentCamera.CoordinateFrame = CFrame.new(0, 0, 0) | ||
</syntaxhighlight>}} | </syntaxhighlight>}} |
Latest revision as of 00:37, 27 April 2023
CoordinateFrame | |
Property | CFrame |
Description | This is a CFrame whose position defines where the camera is at, however it does not define which way it points. For that you need the Focus property. |
Member of | Camera |
Example
In a LocalScript:Workspace.CurrentCamera.CoordinateFrame = CFrame.new(0, 0, 0)