Why are the wheels shaking?


I’ve been working on a collision detection system where the car detects a collision and then moves the previous piece of ground. But the wheels of the car were shaking after it came to a stop on several ground runs.
How does this need to be solved?
Here is the link to my project: Overview | Dashboard | car demo | PlayCanvas | 3D HTML5 & WebGL Game Engine

somebody can help?

Looks like it gets worse the further you get from 0 so it my guess it’s related to floating point inaccuracy.

See: https://www.reddit.com/r/Unity3D/comments/ijwfec/the_further_you_are_from_000_the_messier_stuff/

For an infinite runner style game, it’s common to teleport/move everything back to 0 again after a while to keep the accuracy.

Is there any project you can give me a reference on how to implement in playcanvas?thx

I’m afraid not, no

okay,
anyway, thank you