How to make objects bounce off walls? #207
Unanswered
dante-biase
asked this question in
Help / Questions
Replies: 1 comment
-
Hi there, quite an old question. But for what it is worth, you also need to set the bounciness for the ground/wall in addition to setting it on the ball. That way it worked for me. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Basic objects in my scene like spheres and boxes exhibit gravity, but once they collide with any walls they do not bounce they just fall flat without any reaction.
This is how I'm creating my walls and objects:
ball.body.setBounciness seems to have no effect either?
Beta Was this translation helpful? Give feedback.
All reactions