Trying to get camera to STAY above my head and not change ANGLES
[CODE]function MyCalcView( ply, pos, angles, fov )
local view = {}
view.origin = pos-( angles:Forward()*500)
view.angles = Angle(90,0,0)
view.fov = 100
return view
end
hook.Add( "CalcView", "MyCalcView", MyCalcView )
hook.Add( "ShouldDrawLocalPlayer", "MyHax ShouldDrawLocalPlayer", function( ply )
return true
end )[/CODE]
Also trying to disable Player vies on the Y axis,
CalcView hook
[editline]6th March 2013[/editline]
[QUOTE=BlackMadd;39823978][B]EDIT:[/B] Orriginally Question was about the ChaseCam but now im trying to get the camera to stay at ONE angle (Fixed top down)
Ive got the right view distance and FOV but i dont want the view angel to change (move) with my mouse, i just want it to stay centered above my head.[/QUOTE]
You can't just copy and paste code from the wiki and expect it to somehow work for your needs.
The angles is set to theview angles.
Sorry, you need to Log In to post a reply to this thread.