Problem with vehicle jittering
I already posted this on the hlcoder list and the source sdk coding thread, but without much success.
I've made a very simple vehicle entity that runs on the alien swarm codebase. This entity is using predicted movement code along with a server side vphysic shadow to collide. Here's what it does ( with net_fakelag ) :
It vibrates on its forward axis.
Since all vehicle I made and even the buggy do this on the alien swarm codebase, I decided to try on the orange box. Here's the result :
No jittering at all.
Here's the code for the curious :
So I'm wondering how to fix that so it doesn't vibrate like that on alien swarm ? Since the marine entities don't vibrate like that in mp, so I'm guessing I'm missing something.
I've made a very simple vehicle entity that runs on the alien swarm codebase. This entity is using predicted movement code along with a server side vphysic shadow to collide. Here's what it does ( with net_fakelag ) :
It vibrates on its forward axis.
Since all vehicle I made and even the buggy do this on the alien swarm codebase, I decided to try on the orange box. Here's the result :
No jittering at all.
Here's the code for the curious :
Shared:
vehicle_es_test.cpp - http://pastebin.com/Rkrw9ZJB
Client :
c_prop_sfr_vehicle.h - http://pastebin.com/tqUFNGQZ
c_prop_sfr_vehicle.cpp - http://pastebin.com/eCKcE3VX
Server :
prop_sfr_vehicle.h - http://pastebin.com/zPb3HbEh
prop_sfr_vehicle.cpp - http://pastebin.com/5y1m0S89
So I'm wondering how to fix that so it doesn't vibrate like that on alien swarm ? Since the marine entities don't vibrate like that in mp, so I'm guessing I'm missing something.