Feature Request - Prismatic Joints

0 favourites
  • 2 posts
From the Asset Store
2D Tile Set
$2.99 USD
Tile map for your 2d platformer games, custom sets available on request
  • 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?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Have you tried this tutorial: construct.net/en ? I have not tested it but it seems to correspond to what you're describing

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)