Feature Request - Prismatic Joints

Discussion and feedback on Construct 2

Post » Thu Sep 19, 2013 10:26 am


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?
Posts: 14
Reputation: 630

Post » Thu Sep 19, 2013 1:07 pm

Have you tried this tutorial: https://www.scirra.com/tutorials/240/physical-bike ? I have not tested it but it seems to correspond to what you're describingOlivierC2013-09-19 13:09:34
Posts: 132
Reputation: 2,637

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 3 guests