0
\$\begingroup\$

I'm attempting to recreate a Hill Climb Racing game through using matter.js. However, I'm stuck on the part of creating a realistic suspension using constraints. The main issue is that the constraint (spring) is allowed to move freely but it needs to be fixed to move in one direction.

Here's the current progress: https://victorwei.com/projects/hill/

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.