Constrain Character from moving through top of screen.

OtherGuyStudiosOtherGuyStudios Member Posts: 26
edited November -1 in Working with GS (Mac)
My character keeps going through the top of the screen. What is the best way to stopping this from happening? I actually want him to bounce when he touches top of screen?

Comments

  • steve86steve86 Member Posts: 806
    Hey there.

    Make an actor call it "wall" and stretch it on the edge of the top screen. then create a collision rule between your character and your new wall actor, depending on the restitution value is how high or low the character is going to bounce.

    Cheers
Sign In or Register to comment.