Collision without bounce

gribblegribble Member Posts: 4
edited August 2012 in Working with GS (Mac)
I am trying to create a game guiding a sprite around a maze. How do I apply constraints to the sprite so it stays within the walls of the maze? Collision just makes it bounce around and not stay within the maze path.

Comments

  • ironDanironDan Member Posts: 148
    I have a AI template in the GameSalad Marketplace called "It's ALIVE" and if you watch the You Tube video link perhaps it may be useful to you. If not then try to change Bounciness (it's in the physics tab in the actor) to zero and play with the Friction (located in same tab) to get the desired effect.
  • markbmarkb Member Posts: 10
    It sounds as if you applied the collision behavior to the sprite instead of the walls of the maze. Apply it to the walls of the maze and turn off the "movable" checkbox in the physics attributes. Worked for me.
  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    edited August 2012
    Try turning the bounciness under the physics settings down to zero, for both the walls and your player.

    Jamie
  • ImNiklasImNiklas Member Posts: 103

    @jamie_c said:
    Try turning the bounciness under the physics settings down to zero, for both the walls and your player.

    Jamie

    I also had the same problem and I was looking all around the forum for a solution but nothing worked for me. Then I saw your post and realized that I only had turned of bounciness on one of the actors :stuck_out_tongue: Thank you! :smiley:

Sign In or Register to comment.