problem with the movement and collision of actor

tarsiustudiotarsiustudio Member Posts: 130
edited January 2014 in Working with GS (Mac)
Hello, first excuse me for my English. I'm an actor platform that moves horizontally from side to side, but when the hero collides with the platform is moving in the direction of the actor. Someone knows why this happens and how to fix it? thanks

Comments

  • tarsiustudiotarsiustudio Member Posts: 130
    anyone?
  • SocksSocks London, UK.Member Posts: 12,822
    edited January 2014
    @tarsiustudio

    Try turning off 'moveable'

    image
  • ArmellineArmelline Member, PRO Posts: 5,459
    It really depends on how you're moving the platform. As Socks says, if you're trying to move the platform with an accelerate or a move/move to, your actor will be able to push the platform. You need to turn Moveable off, so the actor can collide with the platform without being able to move it. Of course, once you've done that you need to find a different way to move the platform. Interpolate is probably the simplest way, but there are a few you can experiment with.

    If you don't mind the actor pushing the platform in one direction (i.e. pushing it away from him if it's moving towards him), but want him to still be able to jump on it, then just constraining the Y (or X if that's what you want) position will achieve that.
  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    I have a tutorial, linked below, about elevators and moving platforms you might find useful.

    http://www.jamie-cross.net/?portfolio=gamesalad-elevators-and-moving-platforms
  • tarsiustudiotarsiustudio Member Posts: 130
    First thank you to all three for answering my question and see as big as this makes the most novice can learn community. @ Socks if not remove movable platform would move. @ Armelline thank you very much I think the solution would be an interpolation. @ jamie_c see my tutorial, I have difficulty not speak English but I shall guide for the images.
Sign In or Register to comment.