Hi, i’m making a custom wheel collider using multi raycast but now i got into a problem when the wheel in between two obstacles it will act like this . I need some help.
Lock you diff and accelerate.
How are we suppouse to help exactly?
Indeed, as for what I see in that gif, it looks like the expected behavior for that method in that situation.
In that situation (the car is standing, no action is applied), the suspension force direction is the red vector so it will cause the problem. Any idea how to calculate the average contact point or the suspension force direction, i’m stuck there for month and really need help.
I think you should apply the suspension force only upwards
Well, thank. I tested and it work but it will cause another problem when your front and rear wheel are in different height, the upwards force will cause the car to move.
I think then you should apply some force forward to cancel out the components.or you could apply some break torque to rear wheels to keep it from moving.
Thank, i need to learn more to make my own car physics.