Page 1 of 1

[SOLVED] Vehicle suspension vector gets inverted sometimes

Posted: Wed Mar 18, 2015 5:56 am
by jauthu
On the picture blue arrows represent actual m_sideImpulse(almost zero here for both rear wheels) and m_frontImpulse, green is suspension force and red is m_skidInfo.

As you can see on picture attached, after raycast somehow I get the whole right rear wheel(closest on the picture) inverted both on Y and X axis, ending up in really crazy behaviour. It might happen even if I have fairly smooth surfaces with some height transitions.

Has anyone encountered this? Any ideas on how to fix this?

My bullet version is 2.82.

Re: Vehicle suspension vector gets inverted driving over cre

Posted: Wed Mar 18, 2015 8:59 am
by jauthu
The fix was as easy as clamping suspensionForce to 0 if it gets negative...

I am so sorry to bother you with this...