Creating Impenetrable Walls

iPianistiPianist Member Posts: 3
edited August 2012 in Working with GS (Mac)
Hi, Ive created a scene where the movement of the actor is controlled by two buttons.
The issue is that when the actor collides with one of the walls I have set up, it will stop moving, but If I hit the movement button again the actor will pass through the wall.

I know Tshirtbooth has the solution to a similair problem but I cant seem to open his project file. ( probably because I am using the windows version of GS. )

If anyone could tell me how to fix this problem or how to open Tshirtbooth's project file it would be most helpful.

Comments

  • shark1505shark1505 Member Posts: 75
    Use the collide behavior with your actor and the wall. It will no longer go through.
  • iPianistiPianist Member Posts: 3
    I have the collide behavoir already set...It works the first time the actor collides with the wall. The second time I hit the move button after colliding with the wall the actor moves through it.

    Is there some way to make the actor bounce back a short distance after colliding with the wall?
  • Fal01Fal01 Member Posts: 460
    Maybe increase the density of your wall and take off the friction ,and also decrease the density of your actor. And make sure moveable is unchecked in your wall.
    Hope this helps

    It’s not a bug – it’s an undocumented feature

  • iPianistiPianist Member Posts: 3
    edited August 2012
    Thanks! it works as it should now.
  • game ongame on Sun Valley, California Member, PRO Posts: 79

    I'm having the same problem. I tried increasing the density of my wall and taking off the friction, and decreasing the density of my actor. Nothing worked, Actor still goes through.

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    Did you add the Collide Behavior to your actor telling it to collide with your wall?

Sign In or Register to comment.