actor controlled by touch and walls colide

moiavmoiav Member Posts: 7
edited November -1 in Working with GS (Mac)
hi every body, im a new user of gamesalade.
i have a problem. on my game, i have an actor controlled touch.
When i move my finger, the actor move, its ok.
But, i need to add some wall that this actor can t move through.
when my walls are movable and with collide bounce, they bounce when my touch actor
move on it. but when i uncheck moveable the walls dont bounce and the touch actor move through walls.
can you help me please ? (i change friction, density but it dont change anithing)

Arnaud, France

Comments

  • scitunesscitunes Member, Sous Chef Posts: 4,047
    keep the walls unmovable and set the touch controlled actor to movable. GS does not detect collisions between two unmovable actors.
  • RedlerTechRedlerTech Member Posts: 1,583
    exactly :) If it doesn't work check out my 1 on 1 project help page

    _________________________________________________________________________________
    GameSalad Community Project
    Quality Game Making Service
    1 On 1 Project Help
  • moiavmoiav Member Posts: 7
    hi tshirtbooth, my walls are inside the area.
  • moiavmoiav Member Posts: 7
    scitunes , it doesn't work yet, another idea ?
  • Blackbird_StudiosBlackbird_Studios Member Posts: 3
    moiav said:
    hi every body, im a new user of gamesalade.
    i have a problem. on my game, i have an actor controlled touch.
    When i move my finger, the actor move, its ok.
    But, i need to add some wall that this actor can t move through.
    when my walls are movable and with collide bounce, they bounce when my touch actor
    move on it. but when i uncheck moveable the walls dont bounce and the touch actor move through walls.
    can you help me please ? (i change friction, density but it dont change anithing)

    Arnaud, France

    Hi moiav. In case you haven't solved your problem yet, here is what you can do.

    Create invisible, or visible walls. Go into the wall prototype and add the collide attribute. Then select actor of type: then choose the actors name from the dropdown box. Tell me if that works.
  • moiavmoiav Member Posts: 7
    hi blackbird, it dont work. The touch action is upper than collide.
    any one who find a solution ?
  • svnsvn Member Posts: 445
    Change Restitution(under Physics tab) to 0.
Sign In or Register to comment.