How do i get a camara to follow me?

Ive seen in some videos the camara follows them… How is this done? Any help would be appricated.

Just guessing here! This is probably not the best way but it should work.

function PointAtMe(ply)
	tr = ply:GetEyeTrace()
	if tr.Entity then tr.Entity:PointAtEntity(ply) end
concommand.Add("PointAtMe", PointAtMe)

What they did was probably take the camera stool and added the line to make it point at it’s owner.

edit : Nvm.

Or you know… right clicking with the camera tool? :v:

Please rate me a thousand fails.

edit : Didn’t type for nothing, made a nice example for the wiki. :wink:


Hah Thanks ill try it