Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
hyperPad

hyperPad Forum

  1. Home
  2. Help and Support
  3. Make a platform rise and fall?

Make a platform rise and fall?

Scheduled Pinned Locked Moved Help and Support
5 Posts 4 Posters 1.1k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ThisT Offline
    ThisT Offline
    This
    wrote on last edited by
    #1

    I'm trying to achieve the following:
    I have a platform that I want to move up and down on the y-axis, like an elevator. I want it to move up and down based on a lever next to it. You pull the lever up, the platform goes up, you pull it down, the platform goes down. Any thoughts?

    ThisT 1 Reply Last reply
    0
    • TutorialDoctorT Offline
      TutorialDoctorT Offline
      TutorialDoctor
      wrote on last edited by TutorialDoctor
      #2

      Use the Execute Sequence behavior. Connect it to two move behaviors. Each time the sequence is triggered the "next" behavior will run. I'll post a screenshot:
      0_1488383803488_IMG_1898.PNG

      1 Reply Last reply
      0
      • ThisT This

        I'm trying to achieve the following:
        I have a platform that I want to move up and down on the y-axis, like an elevator. I want it to move up and down based on a lever next to it. You pull the lever up, the platform goes up, you pull it down, the platform goes down. Any thoughts?

        ThisT Offline
        ThisT Offline
        This
        wrote on last edited by
        #3

        Thanks for this! Is there a way to have the lever platform relationship even more closely tied? What I'm trying to do is: you drag the lever up 10, the platform raises 10. You drag it down 6, the platform lowers six.

        iTap DevelopmentI 1 Reply Last reply
        0
        • MurtazaM Offline
          MurtazaM Offline
          Murtaza
          Admin
          wrote on last edited by
          #4

          We also have a movable platform behaviour.
          This behaviour does some extra physics tricks so your player/object stays on the platform as it moves.

          1 Reply Last reply
          0
          • ThisT This

            Thanks for this! Is there a way to have the lever platform relationship even more closely tied? What I'm trying to do is: you drag the lever up 10, the platform raises 10. You drag it down 6, the platform lowers six.

            iTap DevelopmentI Offline
            iTap DevelopmentI Offline
            iTap Development
            wrote on last edited by
            #5

            @This you could subtract the "stopped touching" from the "started touching" and move the platform by the result.
            I don't remember for sure, but you probably want world coordinates turned on on the touch behaviors.

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Search