And here's the E2 "third_person_v2" code:
@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)
You delivered such an impressive piece to read, giving every subject enlightenment for us to gain information. Thanks for sharing such information with us due to which my several concepts have been cleared. Gta 5 download
ReplyDeleteWant more addon's Garrys mod download where can you get free addon of Gmod and many other stuff. Try this out Man
ReplyDelete