How do I pull a car with rope physics?

Get help using Construct 2

Post » Mon Dec 09, 2013 1:18 am

So, in my game, I have an car, a rope and a horse. I attached the horse to the car using "pin (rope style)". The player then control the horse, trying to pull the car.

Unfortunately, that doesn't work. I can move the horse and the rope does limits its movement distance, but the car doesn't move.

How can I make the horse pull the car?
B
20
S
5
Posts: 80
Reputation: 1,408

Post » Mon Dec 09, 2013 5:56 pm

I found the solution myself. For those interested, the answer is to actually pay attention to what you pin to what when you use the "Pin" action.

If you pin the horse to the car, the horse will follow the car (which is not what I wanted). The solution is the opposite: pin the car to the horse! Then we can put physics on the horse to make it pull the car.

Yay! Problem solved!
B
20
S
5
Posts: 80
Reputation: 1,408

Post » Mon Dec 09, 2013 6:04 pm

If you are using physics, wouldn't it be better to use joints instead of pin behaviour to prevent unwanted complications?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Tue Dec 10, 2013 4:45 pm

Hmmmm... I don't know?
I don't know what "joints" are.

The effect I was looking for is kinda like a rope. I mean, the horse is not directly attached to the car. There's some sort of "loose".

I was using "Pin (rope style)" to achieve this. Is there a "joints (rope style)" to create a similar effect?
B
20
S
5
Posts: 80
Reputation: 1,408


Return to How do I....?

Who is online

Users browsing this forum: kriand, matriax, NN81 and 4 guests