Ball Physics

Get help using Construct 2

Post » Tue Oct 25, 2016 7:53 pm

Message: m302 can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Hello,

I am trying to do a physics based soccer style game, but I keep running into a problem. The ball will bounce fine for a short while, but then it begins to slowly bounce and it becomes near unmovable by the player.

I've found a few roundabout solutions to this problem, but it's significantly more work than just letting the physics engine do its thing. Is there something I can do for an easy fix to this situation?

http://s000.tinyupload.com/?file_id=72430438857279892898

Easiest way to recreate the issue is to click the ball into position and let it bounce. The same issue will happen if you let it bounce without using the mouse, but I figured I'd make it easier to see what I meant.
B
6
Posts: 10
Reputation: 272

Post » Thu Oct 27, 2016 11:34 pm

I've played around with it quite a bit, but I've still got nothing. Kind of a roadblock :/
B
6
Posts: 10
Reputation: 272

Post » Fri Oct 28, 2016 2:33 pm

set elasticity to 0.5
B
9
S
4
G
1
Posts: 30
Reputation: 867

Post » Sat Oct 29, 2016 8:36 pm

Tried it. Didn't work.
B
6
Posts: 10
Reputation: 272

Post » Sat Oct 29, 2016 9:13 pm

@m302 Could you please re-explain the issue you are having?
Is it the fact that the ball sometimes doesn't bounce high enough?
"We can't solve problems by using the same kind of thinking we used when we created them."
- Albert Einstein
B
27
S
11
G
8
Posts: 528
Reputation: 7,091

Post » Sat Oct 29, 2016 9:30 pm

see if this helps your issue https://drive.google.com/open?id=0B0lqV ... lBnb2toeHc i updated your capx a bit
B
70
S
20
G
67
Posts: 1,316
Reputation: 42,305

Post » Sat Oct 29, 2016 11:31 pm

Wow. That actually worked. Just putting the physics behavior before the platforming/solid behavior fixed it. After doing that and changing the origin point of the player, it ran perfectly. Thanks a bunch.
B
6
Posts: 10
Reputation: 272


Return to How do I....?

Who is online

Users browsing this forum: vegapomme27, Yahoo [Bot] and 9 guests