Bouncing doesn't work correctly...
riseagainst378
Member Posts: 9
at the moment, i'm making a simple top-down game where different orbs will bounce off solid, rectangular walls indefinitely. however, if the ball impacts the wall at a low enough angle, "bounce" no longer works -- instead, the orb "sticks" to the wall, and runs horizontally or vertically alongside it. i'm wondering if this is a problem with me or with the engine itself...does anyone else have this problem?
thanks in advance.
thanks in advance.
Comments
friction for both of them is zero. i'm sure there's something blindingly obvious that i'm doing wrong here, but i can't seem to figure it out...
thanks for all the help so far.
Orbs: Density 1
Friction 3
Restitution 0.1
Wall: Density 1
Friction 300
Restitution 0.3
maybe i did something wrong with the objects themselves?
Walls
Density: 1
Friction: 300
Restitution: 0.3
Fixed Rotation: False
Movable: False
Collision Shape: Rectangle
Drag: 0
Angular Drag: 0
Orbs
Density: 1
Friction: 3
Restitution: 0.1
Fixed Rotation: True
Movable: True
Collision Shape: Circle
Drag: 0
Angular Drag: 0
before this, i had the orbs' friction set to 0 (as they are always supposed to move at a continuous speed), and restitution set to 2.
When I get home I will take a look at it.
and thank you for your time, i really appreciate it. i tend to overthink things when they don't involve code...