hyperPad hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    Shoot: Anchor Point inoperative and broken

    Scheduled Pinned Locked Moved
    Fixed
    6
    12
    435
    Loading More Posts
    • 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.
    • D
      Deeeds
      last edited by

      Every bullet is fired from an anchor point of 100%, 100%, or top right, regardless of the rotation of the object.

      ie it's not even listening to the orientation of the object, as it should be. So even in the sense it has, it's broken.

      In terms of being inoperative: it doesn't matter what values are put into the anchor point to shoot from, they're disregarded.

      KamdroidK Jack8680J 2 Replies Last reply Reply Quote 2
      • KamdroidK
        Kamdroid @Deeeds
        last edited by

        @Deeeds I’m having trouble with this too.
        For my SpinDefend game, where you control a turret to kill zombies, I was trying to set a different anchor so the bullet would shoot out of the muzzle, but did absolutely nothing,

        So I just ended up creating a small object near the muzzle that would be responsible for shooting and attached it to the gun so it’d follow its rotation/position.

        1 Reply Last reply Reply Quote 1
        • Aidan_FireA
          Aidan_Fire
          last edited by

          Yep it’s broken. Hope it gets fixed next update @administrators.

          1 Reply Last reply Reply Quote 1
          • Jack8680J
            Jack8680 @Deeeds
            last edited by

            @Deeeds seeing the same bug, but for me they're shooting from bottom left (0%,0%).

            1 Reply Last reply Reply Quote 1
            • HamedH
              Hamed Admin
              last edited by

              Can you send us a very small example project with this?

              Tell us what you expect to be happening and what is happening.

              This will really help fixing the problem.

              D Aidan_FireA 2 Replies Last reply Reply Quote 0
              • D
                Deeeds @Hamed
                last edited by

                @Hamed In a bit, I'm fighting with this, now: https://forum.hyperpad.com/topic/672/when-duplicating-a-scene-duplicate-not-same

                1 Reply Last reply Reply Quote 0
                • Aidan_FireA
                  Aidan_Fire @Hamed
                  last edited by

                  @Hamed Here’s a link: http://bit.ly/2yVwfqh
                  I added just one behaviour: shoot with button.
                  Tap the big fat red object in the middle of the screen to make it shoot a bullet. Emitter position is set to a million% x and a million% y. And yet, the bullet still appears in the middle.

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    Deeeds @Aidan_Fire
                    last edited by

                    @Aidan-Oxley @Hamed is Aidan's example enough?

                    This is a weird one because each person reporting on it has the origin/anchor being in a different place:

                    Centre, Bottom Left and Top Right

                    I can't get mine to move, nor can others.

                    The other day, it wasn't responding to rotations of the shooting object. Now it is.

                    MurtazaM 1 Reply Last reply Reply Quote 0
                    • MurtazaM
                      Murtaza Admin @Deeeds
                      last edited by

                      @Deeeds
                      I wonder if the different anchor positions have anything to do with device orientation.
                      Can you try rotating your iPad and seeing if that does any thing?

                      D Jack8680J 2 Replies Last reply Reply Quote 0
                      • D
                        Deeeds @Murtaza
                        last edited by

                        @Murtaza I initially thought this, too. Haven't tried portrait, but home button left and home button right made no difference.

                        1 Reply Last reply Reply Quote 0
                        • Jack8680J
                          Jack8680 @Murtaza
                          last edited by

                          @Murtaza (late reply) I tried to replicate Aidan's project exactly but they are somehow acting differently. http://bit.ly/2iK3UNU

                          Jack8680J 1 Reply Last reply Reply Quote 0
                          • Jack8680J
                            Jack8680 @Jack8680
                            last edited by

                            Aidan figured out what was happening; if you select the second object it will update the anchor and set to that anchor. The text input for the anchor is only updating the input and not the value used by the behaviour, but selecting the anchor manually updates both.

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post