when collide,how can I hold platform's Y position ?

jasonshowjasonshow Member Posts: 71
edited November -1 in Working with GS (Mac)
my platforms always move left,and my Player will jump on them.
but,when my player jump on them,
the platforms will move down a little.(because of the player's weight)
how can I hold platform's Y position ?
thanks.

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    constrain self position y to the position it is onscreen
  • jasonshowjasonshow Member Posts: 71
    I did the constrain in platform,but not work.
    can you tell me the detail what you mean?
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    drag a constrain attribute behavior in the actor. On the actor thats in the scene(not that same actor thats to the left in the actor pane) double click it. Then on the left go under position and right the y down. Then go back into the actor that you put the constrain in and constrain attribute self. position.y to the y number you wrote down
  • AjBlueAjBlue Member Posts: 215
    try to interpolate your platforms instead, interpolate can't be interrupted to it should work.
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    AjBlue said:
    try to interpolate your platforms instead, interpolate can't be interrupted to it should work.

    if you mean interpolate left and right, it wil still respond to the collosion.
  • jasonshowjasonshow Member Posts: 71
    thank you JohnPapiomitis, it works.

    but now, i got a new problem !
    if my player collide with platform from left side,
    the platform will be pushed to the right.
    but I can not constrain the X position, because the platform need to move left.
    how can I fix this ?
    thanks.
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    change the restitution on the platform to 0. its under its physics attributes, and check fixed rotation
  • AjBlueAjBlue Member Posts: 215
    jason you think you can provide a link to you project?
    i would find out how to fix your problem but theirs no way im taking the time to recreate the scenario
  • jasonshowjasonshow Member Posts: 71
    hi,John,
    the restitution already 0.
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    is the restituation on the player 0 as well?

    if it is, then uncheck movable and interpolate on the x
  • jasonshowjasonshow Member Posts: 71
    yes,the player 0 as well.
    how to interpolate on the x?
  • jasonshowjasonshow Member Posts: 71
    WOW!!
    interpolate works !!

    thanks!
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    anytime
  • AjBlueAjBlue Member Posts: 215
    yup, and john i dont want to sound cocky or nothing but, i was right =)
    not bad for someone who started using gamesalad 10days ago ehy?
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    AjBlue said:
    yup, and john i dont want to sound cocky or nothing but, i was right =)
    not bad for someone who started using gamesalad 10days ago ehy?

    you still needed to constrain the y or else it would still push down.
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    AjBlue said:
    yup, and john i dont want to sound cocky or nothing but, i was right =)
    not bad for someone who started using gamesalad 10days ago ehy?

    And I think you do sound pretty cocky.
  • AjBlueAjBlue Member Posts: 215
    maybe i shouldn't help anyone anymore then
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Oh here comes the pity party. :)

    You could just not be so blatantly cocky.
  • AjBlueAjBlue Member Posts: 215
    ok internet tough guy. dont reply to anything i say anymore because i know your kind and anytype of reasoning is just not possible so leave me alone please and thankyou
  • expired_012expired_012 Member Posts: 1,802
    Hhahahhahaa this is too funny :)

    Ajblue, you are pretty cocky but that's a good thing...to me at least. :)
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Sorry AJ. I didn't mean to hurt your feelers i'll try to keep my offensive thoughts to myself. Geez kids theses days.
  • AjBlueAjBlue Member Posts: 215
    Your so immature, you say "Geez kids theses days" like your a mature human being. your not. The way you handle youself is worse than a twelve year old. My feelings aren't hurt, i don't know where you get that from. saying maybe i shouldn't help anymore is not my feelings being hurt. its just reasoning if you can't appreciate my help i have the right to not help. Then i told you to leave me alone because if your going to do nothing but "TRY to hurt my feelings". i'd appreciate you would respect that you would act mature and leave the immature words of wisdom at home.
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Ok lets get something straight.

    I have said nothing out of line, immature, disrespectful, hurtful, childish, etc.

    I called you on being cocky. sorry you don't like honesty. the Appropriate response would have been sorry I know I get that way some times. not "F you" in a round about way
    I have seen your other posts and you act as though you know every single aspect of GS and that everyone else offering a solution is complete idiot. You said your self you have been using GS for 10 days there for you are rude and cocky by the way you act. not an expert

    I said Geez kids these days, because I would associate your behavior on the forum as well as the way you are responding to these sarcastic comments, with that of a know it all teenager. Which BTW some of the best Devs here are 12-13 year olds so assuming you are in fact a kid is not really a stretch.

    Now I would appreciate you showing the forum some respect and not being so cocky and disrespectful to others.

    Feel free to respond as I know you are the type who must have the last word.

    However I will not be responding to this subject any further because I do not want this type of crap clogging up a quite useful forum.

    Everyone has something to offer and everyone will need help at some point. Keep that in mind in the future when you are cutting people down.
  • AjBlueAjBlue Member Posts: 215
    i love how i already said i didnt want to sound cocky, there was absolutely no point in calling me out on it. HAHA, i love it by the way, you say i think i know everything. while i always state that i don't know if it will work on like everything i don't officially know to work, i atleast try to help people, its better than nothing. I love how you say feel fre to respond since i must get the last word when i said way before this that there is no use trying to reason with you because you always think your right. and yes i must have the last word because i don't like when people blatantly acuse me of something i don't do. i haven't cut one person down here, i have been out to help everyone i can, and apparently you don't like when i try to help people.

    that god your not going to respond finally, after i've already said this 4 posts ago, and now you try to act like your the one that does want this. your pathetic , i like how you assume everyone that has only been using gs for a short amount of time like my 10 days, automatically makes me rude and cocky. by saying i dont want to sound cocky means, that i know i would probably sound cocky saying it, that i know that. by conforming something i already stated is very immature. and i like how you . i also love how basically you try saying that everything i said about you is the way i am. its funny actually because anyone that reads my posts can see that i've handled this in a professional manner the whole time. im the kind of person that if you say the earth is a cube, and i think its a sphere. i would not tell you how much of an idiot you are and shoot your idea down, i would always think that its possible, and i would then make of the situation what i would like to think but i would never rule out yours first. i wish i could have just ignored you but guess what, i don't like when people wrongly accuse me of something hence making me look bad.

    you said "I have said nothing out of line, immature, disrespectful, hurtful, childish, etc." hahaha and this "I didn't mean to hurt your feelers i'll try to keep my offensive thoughts to myself. Geez kids theses days." doesn't qualify as being this? "out of line, immature, disrespectful, hurtful, childish, etc."

    you are something else man.
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    I could care less how cocky you are aj, having self confidence is important and good. Just dont get mad at tenrdrmer, Because you did make yourself sound like a little kid.
Sign In or Register to comment.