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
[SOLVED] Vehicle suspension vector gets inverted sometimes
- Attachments
-
- 2015-03-18-083424_1280x1024_scrot.jpg (119.18 KiB) Viewed 2866 times
Last edited by jauthu on Wed Mar 18, 2015 9:00 am, edited 1 time in total.
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...