Physics Vehicle Test(Advice needed)

Get help using Construct 2

Post » Mon Dec 26, 2011 5:52 pm

Here is what i have achieved so far as to a physics based vehicle in the form of a bike.

MyBikeTest(Failed)

I think im closed to the desired effect people are requesting for. But i cannot figure it out.

The problem i have is whilst its in the air, Im currently applying a impulse at the CarBody's current angle.

Problems with that:

- When in the air, and you press a arrow key your constantly applying the impulse meaning you can basically fly, We need the user to be able to fall back down.

- Whilst in air the user will want to adjust there angle for a smooth landing, I can make this happen(I did have it on the example, But was using a third party plugin, So i removed it for the sake of help)

smitchell2011-12-26 19:52:39
B
29
S
12
G
7
Posts: 740
Reputation: 7,849

Post » Mon Dec 26, 2011 5:55 pm

Oh wait i figured the image point thing out, Silly me.

If someone has a though on how to produce the vehicle let me know :)
B
29
S
12
G
7
Posts: 740
Reputation: 7,849

Post » Tue Dec 27, 2011 1:20 am

Example capx

It's not fully working. Nevertheless, it shows how to create joints (you could also have checked back the physics tutorial for that).

The idea there is to put acceleration and decceleration on the backwheel.
It doesn't take the angle of the carbody into account for now, I'll leave it up to your good care.

The rotation of the carbody seems buggy too, but is some sort of possible implementation to implement a motorcycle behavior like in motoX for example.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

Post » Tue Dec 27, 2011 12:29 pm

Thanks @Kyatric

I did try using torque before, But it doesn't feel 'right' like motoX,

Is this because it doesnt take the angle into account?

I tried increasing the torque but then the wheel just keeps spinning and even less movement.

B
29
S
12
G
7
Posts: 740
Reputation: 7,849

Post » Tue Dec 27, 2011 3:32 pm

@Kyatric, Do you think torque is the way to go?
Is it something to do with the density,elasticity, friction or damping of the terrain its moving on?
B
29
S
12
G
7
Posts: 740
Reputation: 7,849


Return to How do I....?

Who is online

Users browsing this forum: luckyrawatlucky, Yahoo [Bot] and 28 guests