Physics behavior sticks instead of bouncing at low velocities

0 favourites
  • 3 posts
From the Asset Store
Bouncing ball
$9.99 USD
Template for a bouncing ball game, fully documented in comments and video
  • Hi there,

    Messing around with physics and am struggling to implement something quite the way I want to.

    I'm using the "Apply force towards" action on click/tap to accelerate an object towards the mouse. I want the object to have pretty high elasticity and bounce off of the environment. However, regardless of elasticity in both objects, if the velocity of the moving object is <40 (ish) in X or Y direction, the object sticks to the wall rather than bouncing.

    I've tried many variations of elasticity, damping, etc, but they all have roughly the same outcome. I've also messed with the stepping iterations, stepping mode, etc.

    Am I missing something or is this just a limitation of the physics sim?

    capx and video.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • This issue has been around for a while.

    Use a combination of larger sizes and higher speeds to mitigate the issue.

    You can also use the los behavior raycast action to get the angle of reflection, to make your own physics with the bullet behavior instead. Depending on your game, the physics behavior is very often not the ideal behavior to utilize.

  • Ahh got it I thought so!

    I think I managed to get the behavior I wanted using Custom movement and the raycast action. Thanks for the suggestion!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)