Page 1 of 1

C4 Implementation stuff

Posted: Thu Oct 19, 2006 6:06 pm
by KingJehu
So, I was able to integrate Erwin's Bullet implementation he provided into the C4 engine.

couple of questions?

is there a way to adjust the friction globally?
everything slides like it's on ice, and I wanted to make some adjustments to that.


where would I start for adding physics to imported Max models?

Posted: Thu Oct 19, 2006 6:53 pm
by KingJehu
nevermind.
i figured out how to change the friction.


does anyone have good tips to curn the jitter?
are the object trying to do some sort of prediction when they are in "jitter mode" before they go to sleep?
if that's the case, is there a way to calm down the prediction?

oh yeah,
I noticed the all mighty and powerful havok implementation in HL2 has the same jitter on physics objects. but not as noticable.

Posted: Sat Oct 21, 2006 2:45 am
by Erwin Coumans
KingJehu wrote:nevermind.
i figured out how to change the friction.


does anyone have good tips to curn the jitter?
are the object trying to do some sort of prediction when they are in "jitter mode" before they go to sleep?
if that's the case, is there a way to calm down the prediction?
You can increase the angular damping, and/or increase the inertia tensor to curn the damping. Also making smaller fixed timestep will help. There are probably other things that help decrease the effect, like increasing the number of iterations in the solver, or adjusting some other constraint solver settings.

Also, I am planning to add better manifold generation, but that is just a matter of waiting a bit,

Thanks for the feedback,
Erwin