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

    Set Velocity Doesn't Work?!

    Scheduled Pinned Locked Moved
    Non-Issue
    7
    30
    4.2k
    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.
    • GameCRAZYG
      GameCRAZY
      last edited by

      I wonder what is wrong with velocity though.

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

        Can you be more specific on what the issue is? I'm not sure I'm understanding correctly.

        As a test, create a blank project and try to recreate this with minimal behaviours. This way you can tell if it's not some other logic causing issues.

        1 Reply Last reply Reply Quote 1
        • Andrey GhostA
          Andrey Ghost
          last edited by Andrey Ghost

          Dunno, currently making a game where basically everybody moves with 'set velocity' behavior and everything is ok. It's just that this behavior needs some right settings, check if there are some other behaviors corrupting its working.

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

            @gamecrazy Don't use timer 0s, use timer 0.016666... for smoothness. What's with set velocity, like exactly what is happening? Can we have an example project? Is your object ever being turned into a wall or scenery object even for a split second? Are there any other physics, movement, transform, etc. behaviours acting on it?

            1 Reply Last reply Reply Quote 0
            • GameCRAZYG
              GameCRAZY
              last edited by

              3 behaviors. No timer. Located in the orange guy.

              When you touch the right side of the screen, the player should start moving, hence the set velocity. He should continue moving, however he should not just be stopping every time.

              He should only be stopping when I tell him to stop, with another behavior.

              http://bit.ly/2MTOUwW

              Dave007D 1 Reply Last reply Reply Quote 0
              • Dave007D
                Dave007 @GameCRAZY
                last edited by

                @gamecrazy
                Just tested your project.
                Your mistake is, you only used Started Touching. Then it's clear that he moves and then stops. It only moves when you touch the screen. Use "While Touching" and everything will work perfectly.

                GameCRAZYG 1 Reply Last reply Reply Quote 0
                • GameCRAZYG
                  GameCRAZY @Dave007
                  last edited by

                  @dave007 Nah, then nothing happens.

                  I wish it was that simple. )-:-)

                  Dave007D 1 Reply Last reply Reply Quote 0
                  • Dave007D
                    Dave007 @GameCRAZY
                    last edited by

                    @gamecrazy
                    I tested that on your project. Just replaced the Started Touching with the While Touching. And it works without problems. If it doesn't work for you, then your device must have some problem 🤔

                    GameCRAZYG 1 Reply Last reply Reply Quote 0
                    • iTap DevelopmentI
                      iTap Development
                      last edited by

                      Just looked too, @Dave007 seems to be right

                      1 Reply Last reply Reply Quote 0
                      • GameCRAZYG
                        GameCRAZY @Dave007
                        last edited by

                        @dave007 Yeah, it doesn’t work. Maybe you are operating the beta version of Hyperpad?

                        I’m using an iPad Pro, there shouldn’t be any issues there. I’ll see if there is a new update or something.

                        iTap DevelopmentI 1 Reply Last reply Reply Quote 0
                        • GameCRAZYG
                          GameCRAZY
                          last edited by

                          No update. Tried restarting. Can one of you send it to me?

                          1 Reply Last reply Reply Quote 0
                          • iTap DevelopmentI
                            iTap Development @GameCRAZY
                            last edited by

                            @gamecrazy set velocity isn’t going to make it move infinitely. Once it’s set, it immediately starts to slow down, unless it set again and again(while touching)

                            GameCRAZYG 1 Reply Last reply Reply Quote 0
                            • iTap DevelopmentI
                              iTap Development
                              last edited by

                              http://bit.ly/2MQjfg6

                              1 Reply Last reply Reply Quote 0
                              • GameCRAZYG
                                GameCRAZY @iTap Development
                                last edited by

                                @itap-development When I put in the while touching, tapping, holding... none of it even does anything. The character remains stationery.

                                iTap DevelopmentI Dave007D 2 Replies Last reply Reply Quote 0
                                • iTap DevelopmentI
                                  iTap Development @GameCRAZY
                                  last edited by

                                  @gamecrazy did you change the default object to the one in the started touching behavior?

                                  GameCRAZYG 1 Reply Last reply Reply Quote 0
                                  • Dave007D
                                    Dave007 @GameCRAZY
                                    last edited by

                                    @gamecrazy
                                    I am not using a beta version.
                                    Restart your device. If it still doesn't work, reinstall HyperPad. But make a backup of all your projects first! If it still doesn't work, the problem must be yours. It works for me without problems.

                                    1 Reply Last reply Reply Quote 0
                                    • GameCRAZYG
                                      GameCRAZY @iTap Development
                                      last edited by

                                      @itap-development Ok, weirdest thing. We have the exact same projects. Same behaviors, same objects, same settings.

                                      I downloaded your link and it worked!

                                      iTap DevelopmentI 1 Reply Last reply Reply Quote 0
                                      • iTap DevelopmentI
                                        iTap Development @GameCRAZY
                                        last edited by

                                        @gamecrazy lol 😂

                                        1 Reply Last reply Reply Quote 0
                                        • GameCRAZYG
                                          GameCRAZY
                                          last edited by

                                          1. Set Velocity used to mean (in past versions of Hyperpad) that there would just be a constant rate of motion.

                                          2. Whatever just happened... Weird!

                                          MurtazaM 1 Reply Last reply Reply Quote 0
                                          • iTap DevelopmentI
                                            iTap Development
                                            last edited by

                                            So, the best way to fix a bug is to have someone else make the same change, and send it back! Lol bug fixing was never easier!

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