Disappearing and Reappearing Platform

KamazarKamazar Member Posts: 287
edited November -1 in Working with GS (Mac)
So I tested out what I thought was a simple concept. Have a platform that replaces itself with an invisible non-collidable actor, then have said non-collidable actor replace itself with a platform. It half worked. The platform disappears and reappears, but every time it reappears, it's significantly higher in position than it was before. Help?

Comments

  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    Are you doing a spawn relative to actor and with the same position and size? Could you type out your rules?

    Have you also tried controlling all collisions with your platform in your platform actor?

    Rule: Attribute: self.isThere = true
    --Collides with instance of player
    --Collides with tag enemies
    ...etc.
    --Change Attribute: self.Color.Alpha = 0
    Otherwise:
    --Change Attribute: self.Color.Alpha = 1
  • MillerEPMillerEP Member Posts: 22
    Have you tried constraining the platform to the X, Y coords of the previous object? or much simpler, if you're trying to make something be collidable, non-collidable, and collidable again in the same place, just have multiple change attribute features change it's collidable group and it's "Alpha Color" to 0 and back to 100.
Sign In or Register to comment.