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. Set specific collide point

Set specific collide point

Scheduled Pinned Locked Moved Help and Support
5 Posts 2 Posters 745 Views 1 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.
  • SplitMindGamingS Offline
    SplitMindGamingS Offline
    SplitMindGaming
    wrote on last edited by
    #1

    I have this shape that i only want to trigger a series of events when colliding with a specific point. Is there a way to do this? I know i can simply create another empty object and place it where i want the collide point to be but the problem is that as you switch through different screen aspects. The empty container will not be in the right location. I think I asked this before but i notice theres a drag position option when selecting the object i want to collide with. But this apparently does nothing. I have included a screenshot of a specific shape that i only wanted the collide point to register from. Any ideas?F28DA719-22F7-49EE-823A-0B27471A9778.jpeg

    1 Reply Last reply
    0
    • HamedH Offline
      HamedH Offline
      Hamed
      Admin
      wrote on last edited by
      #2

      Collided behaviour outputs an x and y position of where it collided: https://hyperpad.zendesk.com/hc/en-us/articles/115001430843-Collided

      Does that do what you need?

      SplitMindGamingS 1 Reply Last reply
      0
      • HamedH Hamed

        Collided behaviour outputs an x and y position of where it collided: https://hyperpad.zendesk.com/hc/en-us/articles/115001430843-Collided

        Does that do what you need?

        SplitMindGamingS Offline
        SplitMindGamingS Offline
        SplitMindGaming
        wrote on last edited by
        #3

        @Hamed how do you set it up to pinpoint where you want the collide to happen if i output the x and y. I filled in the illustration to get a better point on why i only want the specific collide point. Think of a mario tube that you enter. I only want the collide to register the chain of event from the entry point. Because if i choose like top or bottom. The player can enter the tube from any top or bottom point.B6EF1C3D-4806-42D4-95F5-051C3F648A01.jpeg

        1 Reply Last reply
        0
        • HamedH Offline
          HamedH Offline
          Hamed
          Admin
          wrote on last edited by
          #4

          I would have an if connected to collide behaviour. If X/Y is between a certain position, perform this action.

          To find out what to make your if behaviour, output x and y to a label and see what to make it.

          SplitMindGamingS 1 Reply Last reply
          0
          • HamedH Hamed

            I would have an if connected to collide behaviour. If X/Y is between a certain position, perform this action.

            To find out what to make your if behaviour, output x and y to a label and see what to make it.

            SplitMindGamingS Offline
            SplitMindGamingS Offline
            SplitMindGaming
            wrote on last edited by
            #5

            @Hamed oh I see yes thats perfect. Thank you.

            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