Collision question

DarDar Member Posts: 37
edited November -1 in Working with GS (Mac)
Let's say you want a ball to bounce off a block, how can you set it so the block doesn't move when the ball bounces off it?
Help please!?

Comments

  • firemaplegamesfiremaplegames Member Posts: 3,211
    In the block's Physics Attributes, deselect "Movable".
  • ORBZORBZ Member Posts: 1,304
    or if you want to control the movement of the block and not strictly have it be immovable set its density to some really high number like 10000 while leaving the ball at a relatively low value, like 1. This is the equivalent of a fly hitting your windshield.
  • quantumsheepquantumsheep Member Posts: 8,188
    *quickly makes 'fly hitting your windshield game*

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • DarDar Member Posts: 37
    ok, thanks guys :)

    But Orbz,

    my block is actually a paddle and when the ball hits it it still moves, and I set it density to 10000 and the ball to 1, why isn't it working?
  • DarDar Member Posts: 37
    and I'm trying to make a borderso the ball won't go off the screen and I uncheck move-able but now the ball goes right through it even though I set it to collide! :c S
Sign In or Register to comment.