My raycast suspension works perfectly on 50-60fps. However any lower it starts showing weird behavior. I am quite aware of the reason. To fix this i found this formula on another post.
Before i was using the formula without the second derivative part. However, the addition of that part fixed my problem, i cant seem to understand why it fixed it. Can anyone guide on why does this formula work? One more thing that i am using impulses rather than vector force.
oh yes, i use delta time, infact, the change is divided by delta. I do know the cause of issue too. I actually wanna know the reason behind why the issue decreases by the subtraction of that second derivative part.