Hey
I'm looking into making a car/trail bike game using physics.
I've been looking on this forum for the past 2 days looking for a way to make a (sort of) realistic car suspension.
I've tried setting up limited revolution joints but that doesn't get me the "spring" effect. Distance joints just move to the side when the car lands on top.
I've tried applying an upward force to the car when the wheels hit the ground. The car moves back up but it kind of floats up and down. (example).
I've learned that what I need is a prismatic joint, a joint that can only move on one axis. I found this article that describes how to make a car suspension/spring in javascript. I considered making a plugin myself but my javascript skills are close to non-existent.
Is there any way this can be implemented in C2?