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.
[SOLVED] Vehicle suspension vector gets inverted sometimes
-
- Posts: 12
- Joined: Tue Feb 28, 2012 7:34 pm
[SOLVED] Vehicle suspension vector gets inverted sometimes
You do not have the required permissions to view the files attached to this post.
Last edited by jauthu on Wed Mar 18, 2015 9:00 am, edited 1 time in total.
-
- Posts: 12
- Joined: Tue Feb 28, 2012 7:34 pm
Re: Vehicle suspension vector gets inverted driving over cre
The fix was as easy as clamping suspensionForce to 0 if it gets negative...
I am so sorry to bother you with this...
I am so sorry to bother you with this...