Actor gets stuck on wall HELP!!

DreamStudiosDreamStudios Removed Posts: 148
edited November -1 in Working with GS (Mac)
I've created walls to constrict my actor from wondering off. However when my actor collides on the edge/ seam (corner) of the wall it attaches itself to the wall and my controls don't function properly. I've added the collide behaviour and my Restitution and Friction are both 0 on my wall and actor (square). How can I fix this please thanks :D

Comments

  • micksolomicksolo Member Posts: 264
    The problem is your restitution settings. If you set it to 0, whenever it collides it won't bounce.

    Restitution means how far it bounces compared to the force it collided with. So if you set it to 0, it won't bounce at all. IF you set it to 1, it will bounc back at the same speed it hit the wall with,

    So yeah, change the restitution on the wall to above 0 and it should bounce off.
  • DreamStudiosDreamStudios Removed Posts: 148
    I changed the restitution to 1 on my square but it didn't work.
    When my actor follows the wall to an edge it follows the edge.
  • micksolomicksolo Member Posts: 264
    change the restitution on the wall to something above 0 too.
  • DreamStudiosDreamStudios Removed Posts: 148
    Tried, still doesn't work. I don't know what to do.
  • micksolomicksolo Member Posts: 264
    send your project to me at micksolo@gmail.com and I will have a look.
Sign In or Register to comment.