how to disable the head bobbing <SOLVED>
is there a way to disable the camera movement (the up and down wobble) during a walk? i want to walk around my level, but keep the first person camera perfectly stabilized.
thanks to radomiro
i also found a way.
change the code in UTPawn.uc
Change 'Bob = FClamp(Bob, -0.05, 0.05);' to 'Bob = FClamp(Bob, 0, 0);' and the bobbing during the walk is completely gone
Last edited by bukkit; 04-15-2011 at 12:59 PM.
that's called bobbing, you must override UpdateEyeHeight event in your player pawn class and example of its use is in UTPawn (from that you should be extending if you have bobbing, I think) and you can leave it blank or well comment all or just what you want, like only bobbing but leaving the sairt-steps stabilizator, now that I remember there is this variable "bob" that you can asign (must be 0 for zero bobbing) in a config file (so you dont need to override UpdateEyeHeight), dont remember what file...
Last edited by radomiro; 04-15-2011 at 11:06 AM.
thanks, im gonna look more into it
I found it, bob is in DefaultGame.ini
yep. it can also be adjusted in the UTPawn...which solved my problem. thanks a lot for your help