Physics behavior - conservation of energy issues?

Bugs will be moved here once resolved.

Post » Wed Feb 13, 2013 5:03 am

Link to .capx file (required!):
https://docs.google.com/file/d/0B4621icyF3Q-anY5S0ltUS1BXzQ/edit

Steps to reproduce:
1. Touch the green image to set both the ball with an initial velocity
3.

Observed result:
The ball moving on the inclined path is not able to make it to the other side and falls back, though friction and damping parameters are all set to zero


Expected result:
The ball should have made it to the other side and also should have moved quite fast to the right...Conservation of energy is not happening despite all friction/damping parameters are all set to zero...

Browsers affected:
Chrome: yes/no
Firefox: yes/no
Internet Explorer: yes/no

Operating system & service pack:

Construct 2 version:
    
For game development / IT services contact - ravindra@actualconcepts.com

List of published iOS apps -
https://itunes.apple.com/us/artist/ravi ... d693234511
B
69
S
18
G
3
Posts: 332
Reputation: 6,783

Post » Wed Feb 13, 2013 4:21 pm

We can't fix this, it's based on how the Box2D physics engine works. Physics engines are never perfectly precise because the calculations involved work at a limited precision, due to the finite computing capacity of computers. I think you just need to make sure you design your game around this, such as by giving it a little extra velocity.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests