used a Cos
try this, it works nicely for me, i'v got a small demo i'll upload it tonight ;)
SpeedX# = .5 ; Adjust These SpeedY# = .6 ; Adjust these headrot = (headrot + Speedx#) mod 300 ; give a stepping feel headrot2 = (headrot + Speedy#) mod 360 ; full side to side feel headbobx = cos(headrot) * 6 ; updown headboby = cos(headrot2) * 2 ; not to much other wise you get the rude boy walk! LOL ; then positionentity headcam, entityx(player), entityy(player), entityz(player) moveentity headcam, headbobx, headboby,0
try this, it works nicely for me, i'v got a small demo i'll upload it tonight ;)