How do I make car slide against a wall on impact?

Get help using Construct 2

Post » Tue Jun 06, 2017 1:06 pm

I've tried to do that for several days with
  1. Custom Movement instead of Car Behaviour to avoid crazy bouncing around
  2. Physics to apply force from point A to point B on collision with the wall (until angle of car == angle of wall) [pic1]
And nothing works. It keeps bouncing away from the wall and overrotating horribly [pic 2]. Please help : how do I make it stick to the wall untill it's speed goes down, without rotating even more and pushing itself against the wall.

Image
Image
pic1 and pic 2
B
6
S
2
Posts: 98
Reputation: 1,334

Post » Tue Jun 06, 2017 1:14 pm

Current code
Image
Its no good
B
6
S
2
Posts: 98
Reputation: 1,334

Post » Tue Jun 06, 2017 3:02 pm

From my POV the problem seems to be in the fact that the Solid wall does not absorb any force, instead any object hitting it flies of like a f****ng ball. How do I make the wall absorb the leftover impulse, or is the physics engine not good enough?
B
6
S
2
Posts: 98
Reputation: 1,334


Return to How do I....?

Who is online

Users browsing this forum: ajcoppersmith, blue visionary and 4 guests