(Solved) trailer act like one when attached to truck

Get help using Construct 2

Post » Wed Dec 10, 2014 1:47 am

Here is my project,

what I want is my tractor to back up, attach to trailer, and drive around. I have all that working but one thing, the trailers Physics are not right. what I am I doing wrong? attached is my test project.

WASD to move player, touch tractor to get in, WASD to drive tractor (car movements) back up to trailer to attach, Press Q to detach trailer. Press E to exit tractor.

Click left mouse and drag to move screen, zoom in or out with middle mouse scroll
You do not have the required permissions to view the files attached to this post.
Last edited by mordiaky on Fri Dec 12, 2014 2:44 am, edited 1 time in total.
B
8
S
1
Posts: 74
Reputation: 725

Post » Wed Dec 10, 2014 2:37 am

i'm new here, probably a better way, but i'm guessing the problem is with the physics...

would faking it work? Something like the attached image..

Not complete, but would give the illusion of the dragging physics..

You'd have to limit the rotation and reverse it when the person is going backwards...
You do not have the required permissions to view the files attached to this post.
B
7
S
1
Posts: 27
Reputation: 479

Post » Wed Dec 10, 2014 2:50 am

thank you, trying this out. I was hoping for of a more physics feel to it using the physics system built in. I am new to and not very good with logic :D
B
8
S
1
Posts: 74
Reputation: 725

Post » Wed Dec 10, 2014 3:09 am

There probably is a better solution like I said... only been at this a couple days myself... hope I can help..
B
7
S
1
Posts: 27
Reputation: 479

Post » Wed Dec 10, 2014 10:30 pm

anyone have any idea how I can use the Physics Joint system to act has a trailer hook up?

Of a solution that might work for what I am looking for?
B
8
S
1
Posts: 74
Reputation: 725

Post » Fri Dec 12, 2014 2:43 am

Figured it out! it works, it has a Very small bug, but I will work on that later, for the most part this is amazing!
You do not have the required permissions to view the files attached to this post.
B
8
S
1
Posts: 74
Reputation: 725


Return to How do I....?

Who is online

Users browsing this forum: David181, dop2000, jorgmaquoi, MPPlantOfficial, unicornspitfire and 28 guests