Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

platformer material example is not working correctly #50

Closed
g-dormoy opened this issue Jul 29, 2014 · 0 comments
Closed

platformer material example is not working correctly #50

g-dormoy opened this issue Jul 29, 2014 · 0 comments

Comments

@g-dormoy
Copy link

Originaly post as an issue on the phaser repository :
phaserjs/phaser#1072

http://examples.phaser.io/_site/view_full.html?d=p2%20physics&f=platformer+material.js&t=platformer%20material

It seems that each time the player object collides, it gets accelerated more, making this >demo unuseable.

I thinks the issue is on the line 63 the stiffness is too high, setting it to 1e3 solve the problem.

photonstorm added a commit that referenced this issue Oct 19, 2014
reducing stiffness to solve issue #50 (platformer material example is not working correctly)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants