[SOLVED] How do I make Physics forces equal? (symmetrical)

Get help using Construct 2

Post » Mon Oct 16, 2017 6:15 pm

http://helldeveloper.weebly.com/uploads/6/0/6/6/6066363/wtphysics.zip (project)

I have made 2 symmetrical Image points on my sprites, and I am applying equal forces simultaneously to both (to move the Sprite like a car).
Unfortunately, it keeps sliding to one side no matter how I move the image points. Please help, thanks :P
Last edited by HellMax on Sat Mar 17, 2018 5:27 pm, edited 1 time in total.
B
6
S
3
Posts: 139
Reputation: 1,668

Post » Tue Oct 17, 2017 12:55 am

It's probably the way physics engine does forces calculations.
Why don't you apply just one force to the center of the car when you need it to drive straight?
Image

Did I help to fix a problem in your game? You can buy me a cup of coffee :) If you'd like to hire me, please see this post
B
17
S
9
G
156
Posts: 2,204
Reputation: 82,989

Post » Mon Oct 23, 2017 1:21 pm

I was trying to go for slightly more realism (in cases of impact)
Okay, i'll make a temp fix of making just one force - but if anyone has a solution - please provide it :o
B
6
S
3
Posts: 139
Reputation: 1,668

Post » Sat Mar 17, 2018 5:26 pm

SOLVED
If someone ever finds this, the problem was in the fact that the origin point was slightly displaced.
If you need extreme physical precision go with a square 250x250 with origin point on 125x125
B
6
S
3
Posts: 139
Reputation: 1,668


Return to How do I....?

Who is online

Users browsing this forum: candyman201 and 2 guests