• How Can I Get the Camera Location?
    2 replies, posted
Just want to vector location of the camera. [CODE]LocalPlayer():GetViewEntity()[/CODE] That doesn't work when third person is enabled. [CODE]LocalPlayer():GetPos + LocalPlayer():GetCurrentViewOffset()[/CODE] This also only works in first person. It's odd that such a simple thing is so difficult.
[img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Global/EyeVector]Global.EyeVector[/url] or [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Global/EyePos]Global.EyePos[/url]?
You also might need [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Entity/EyeAngles]Entity:EyeAngles[/url] Just saying. Dealing with cameras usually requires both unless you want them to freecam
Sorry, you need to Log In to post a reply to this thread.