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

    Weird!

    Scheduled Pinned Locked Moved
    General Discussion
    4
    13
    393
    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.
    • iTap DevelopmentI
      iTap Development
      last edited by

      I found that if you take two empty object squares, and have the first at a 45 degree angle, with the second directly on top of it, the second won’t balance on the corner of the first.....but if you set the first’s angle to 44.999985 it will balance. Every time you come back to the angle setting it has been rounded to 45, but if you set it to 45 then, it stops balancing.

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

        @iTap-Development

        I'm curious as to how you found this number.

        Aidan_FireA iTap DevelopmentI 2 Replies Last reply Reply Quote 0
        • Aidan_FireA
          Aidan_Fire @Deeeds
          last edited by Aidan_Fire

          @Deeeds I’m gonna guess trial and error, based off which way the square falls over.

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

            @Deeeds, @Aidan-Oxley is right...trial and error. It was fun LOL!

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

              @iTap-Development Two exactly round balls, one on the ground, one above it, falling down on it, and then bouncing up.

              What's the offset required to ensure the ball falling down never bounces to the side, always going straight up and down?

              Jack8680J iTap DevelopmentI 2 Replies Last reply Reply Quote 0
              • Jack8680J
                Jack8680 @Deeeds
                last edited by

                @Deeeds for me it's 0. Having the exact same x coordinate works, unless it falls off after a really long time. Is it different for you?

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

                  @Jack8680 Yeah, I'm getting immediate movement to the side. The upper ball bounces off to the right, by the third fall it's off the below ball and away...... free... dom....

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

                    @Deeeds

                    Weird!

                    I have no idea what would cause these kinds of bugs other than some weird rounding error in the bouncing or collision maths.

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

                      @Jack8680 I'm pretty sure it's that... when the centre of mass doesn't quite line up exactly with the centre of the shape.

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

                        @Deeeds 0 offset works for me too.

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

                          Did anyone have the same result with the squares?

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

                            @iTap-Development When I had either a square flat and the other at 45° (or your weird angle), the square always fell down. But I had the square falling onto the other (a wall object).

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

                              @Aidan-Oxley my 45 (or 44.999985) was a wall and the 0° fell onto it.

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