GameSalad

Problem with moving platforms

mmhs1613mmhs1613 Posts: 2Member, PRO

Hello everyone. I am working on a school project for my game design class, I am trying to make my actor on to a moving platform, but everytime he jumps on the platform, the platform just falls down or flies around the level. I used timers to make the platform move, and I can't un-mark movable in the actor's attributes (for the moving platform) because then the platform will not move. Anyone know what I can do to make sure the platform doesn't fall when my player actor jumps on to it?
Here's my moving platform code:

Comments

  • IceboxIcebox Posts: 1,431Member, PRO

    try giving it high density

  • mhedgesmhedges Raised on VCS Posts: 633Member, PRO
    edited May 2016

    Hello -

    1: Constrain your platform's y movement to a fixed height so it doesn't fall. For example, if your platform's y position = 150, then put in the platform:

    Constrain Attribute self.positionY to 150.

    That takes care of the falling.

    2: Click on Fixed Rotation in the platform's attributes so it doesn't spin when your actors jumps on (collides with) it.

    Let us know if that did it for you.

Sign In or Register to comment.