C4 Implementation stuff

Post Reply
KingJehu
Posts: 2
Joined: Thu Oct 19, 2006 5:50 pm

C4 Implementation stuff

Post 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?
KingJehu
Posts: 2
Joined: Thu Oct 19, 2006 5:50 pm

Post 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.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA
Contact:

Post 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
Post Reply