Jump to content

Arcade + Circle + fast Collision = lost velocity? (bounce=1)


pad
 Share

Recommended Posts

Hey,

i have a little problem. if i set a ball to "circle" collision. and use setBounce(1); sometimes the ball loss velocity (it slow downs dramatically).

U can reproduce it on:
https://labs.phaser.io/edit.html?src=src/games/breakout/breakout.js&v=3.22.0

Just add 
this.ball.setCircle(10);
between line 33 and 34 an try to hit two ore three bricks in a row.

Anybody an Idea?
Thank u :)

paD

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...