Alright, so I am looking at an object and I want to get the coordinates of my camera(of where I am looking at) - how can I do this?
COMMUNITY QUESTION
How can I get the coordinates of my camera?
1 answer
I believe it would be like this: (In a local script of course)
if game.Players.LocalPlayer.Character ~= nil then
local x = game.Players.LocalPlayer.Character
local parts = Instance.new("Part")
parts.Parent = game.Workspace
parts.CanCollide = false
parts.Postion = Vector3.new(x.Head.Position)
This discussion is preserved as it was. New answers, comments, and votes are closed.
