Collision problem

jkazmajkazma Member Posts: 9
edited October 2012 in Working with GS (Mac)
Hello everyone, I am having kind of an important problem and I hope that someone could help me solve it. This picture help showing what my problem is.

http://imageshack.us/photo/my-images/407/35345345.png

The circle is a movable actor and the squares aren't. The problem is that when I move the circle down to collide with the squares that act like walls, I can't move it to the right even though both squares are at the same height and have the same size. So, can anyone tell me what I am doing wrong or how can I solve the problem. Any help would be really appreciated.

Comments

  • mELTINGsKYsTUDIOSmELTINGsKYsTUDIOS Member Posts: 158
    I think more info would be needed. Is the circles collision mask a circle in the physics settings? What rules are you using to move? etc..
  • jkazmajkazma Member Posts: 9
    I think more info would be needed. Is the circles collision mask a circle in the physics settings? What rules are you using to move? etc..
    Sorry about that, the circle actor has a square collisison in the physics settings and I am using the change velocity rule to move the actor so that the actor only stops when it collides with a wall (squares on the picture).
  • mELTINGsKYsTUDIOSmELTINGsKYsTUDIOS Member Posts: 158
    edited October 2012
    Hmm, well, for starters I would change the collision mask to a circle.. that seems to fix a lot of issues Ive had like that. It seems simple, but it has worked for me. If not, Im more than happy to take a look at it and fix it.
  • jkazmajkazma Member Posts: 9
    Hmm, well, for starters I would change the collision mask to a circle.. that seems to fix a lot of issues Ive had like that. It seems simple, but it has worked for me. If not, Im more than happy to take a look at it and fix it.
    Alright thanks, so as you said I tried with a circle collision shape but now when I move the circle to the right, it doesn't move in a straight line but diagonally as if it hit something. I verified my squares and they are both unmovable, have the same size and have the same y position.
  • mELTINGsKYsTUDIOSmELTINGsKYsTUDIOS Member Posts: 158
    Hmm, well, for starters I would change the collision mask to a circle.. that seems to fix a lot of issues Ive had like that. It seems simple, but it has worked for me. If not, Im more than happy to take a look at it and fix it.
    Alright thanks, so as you said I tried with a circle collision shape but now when I move the circle to the right, it doesn't move in a straight line but diagonally as if it hit something. I verified my squares and they are both unmovable, have the same size and have the same y position.
    If you want, I can take a look at it for you.. Should be a simple fix, just hard to tell with out seeing what youve done.. Maybe tick the fixed rotation tag would fix it?
  • jkazmajkazma Member Posts: 9
    Hmm, well, for starters I would change the collision mask to a circle.. that seems to fix a lot of issues Ive had like that. It seems simple, but it has worked for me. If not, Im more than happy to take a look at it and fix it.
    Alright thanks, so as you said I tried with a circle collision shape but now when I move the circle to the right, it doesn't move in a straight line but diagonally as if it hit something. I verified my squares and they are both unmovable, have the same size and have the same y position.
    If you want, I can take a look at it for you.. Should be a simple fix, just hard to tell with out seeing what youve done.. Maybe tick the fixed rotation tag would fix it?
    Sure but the weird thing is that if I move the circle to the right after it went down It won't move but if I move it to the left than back to the right it works without a problem.
  • mELTINGsKYsTUDIOSmELTINGsKYsTUDIOS Member Posts: 158
    Hmmm, You can email me at meltingskystudios@gmail.com and Ill take a look for ya. Im really not sure without looking.
  • jkazmajkazma Member Posts: 9
    Hmmm, You can email me at meltingskystudios@gmail.com and Ill take a look for ya. Im really not sure without looking.
    Alright I've just sent you the project file.
  • mELTINGsKYsTUDIOSmELTINGsKYsTUDIOS Member Posts: 158
    Hmmm, You can email me at meltingskystudios@gmail.com and Ill take a look for ya. Im really not sure without looking.
    Alright I've just sent you the project file.
    Awesome, checking it out!
  • jkazmajkazma Member Posts: 9
    Hmmm, You can email me at meltingskystudios@gmail.com and Ill take a look for ya. Im really not sure without looking.
    Alright I've just sent you the project file.
    Awesome, checking it out!
    kk
Sign In or Register to comment.