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

    Move Behavior ignores Physics properties

    Scheduled Pinned Locked Moved
    Comments & Feedback
    4
    8
    505
    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.
    • TutorialDoctorT
      TutorialDoctor
      last edited by

      @Murtaza commented on my Point and Click demo. This has been something I have been noticing for a long time and I thought to post it in the forums. I won't post it as a bug if it is intended.

      More Behaviors like Move to Point or Move to Object overwrite object physics properties. If two objects are impassable wall objects and one object uses a Move Behavior, if the two overlap, they will not collide with the correct physics.

      I find myself having to work around things like this but...

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

        This is because these behaviours are not using the physics engine at all. If you want to move an object but take physics and collisions into account then you use be using set veloctiy, or applying a force.

        @Hamed may have more info on this if I have missed any thing.

        TutorialDoctorT 1 Reply Last reply Reply Quote 0
        • TutorialDoctorT
          TutorialDoctor @Murtaza
          last edited by

          @Murtaza in this particular case i am using Move to Point to move an object to a tap location (Started Touching X and Y coordinates).

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

            Yes, the transform behaviours (Move, move to point, scale, rotate etc) override physics. Collision behaviours should still function though (Collided, Stop Colliding, While Colliding)

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

              @Hamed what does the "interrupt movement" toggle do?

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

                @iTap-Development When its on, it only lets you run one move behaviour at a time, when its off, it lets you stack a bunch of movements together.

                Eg On: You have two move behaviours running at the same time with interrupt on, one moving in the x direction, and one moving in the y direction, it will move only move in x or y, depending on which move got triggered last.

                Eg Off: You have two move behaviours running at the same time with interrupt off, one moving in the x direction, and one moving in the y direction, it will move in both x and y.

                iTap DevelopmentI 2 Replies Last reply Reply Quote 1
                • iTap DevelopmentI
                  iTap Development @Hamed
                  last edited by

                  @Hamed ok thanks!

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

                    @Hamed It would be useful to be able to give the move behaviors priorities, just like with aninations.

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