Character true on certain platforms and false on others

allc1865allc1865 Member, PRO Posts: 777

I have a display text on my character that says, self.jumping to make when he jumps it is true, and when he is on the platform he returns to false.
However, when I set another platform in my scene for him to jump on, once he lands on that platform he stays true instead of returning to false. Because of that, he can't jump and is sluggish when moving left and right. Why is this?
Thanks

Best Answer

  • SlickZeroSlickZero Houston, TexasPosts: 2,870
    Accepted Answer

    Did you unlock the platform in the scene and code it? If you did, it will only be working on that one platform. You need to either code the prototype in the actor bin, or option+click and drag a copy of that platform on the stage, and use that. I would code the prototype in the bin, it's better to do it that way.

Answers

Sign In or Register to comment.