Return to site

How To Third Person In Gmod

broken image


I made a new version of the third person view, which let you move the camera up and down on the pitch rotation.
And here's the E2 'third_person_v2' code:
How to go third person in gmod without sv_cheats

Gmod Third Person Button

@name third Person v2
@inputs
@outputs Angle:angle Position:vector
@persist
@trigger
runOnTick(1)
R = 120
Angle = owner():eyeAngles()
Pitch = Angle:pitch()
Yaw = Angle:yaw()
X = cos(Yaw) * R * (-1)
Y = sin(Yaw) * R * (-1)
Z = sin(Pitch) * R + 90
Zx = R - (cos(Pitch) * R)
Xz = cos(Yaw) * Zx
Yz = sin(Yaw) * Zx
if(Z < 0){Z = 0}
Position = owner():pos() + vec(X+Xz,Y+Yz,Z)

Gmod How To 3rd Person

I show you how to go in third person in gmod and to add keybindings. I show you how to go in third person in gmod and to add keybindings. Using the Simple Third Person addon is good and stuff, but you have to keep going into the menu - How about a way to easily toggle the third person mode? Well here you go! Now only pressing down 2 buttons, you can switch between 1st and 3rd person.





broken image