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. Attached Objects & Collisions Misfunctional

Attached Objects & Collisions Misfunctional

Scheduled Pinned Locked Moved Help and Support
40 Posts 5 Posters 14.7k Views 2 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.
  • iTap DevelopmentI iTap Development

    @Deeeds by “fine” I meant working normal.

    D Offline
    D Offline
    Deeeds
    wrote on last edited by
    #13

    @iTap-Development I'm now absolutely convinced you have no idea how damping works, or what it is.

    Read here:

    https://blurrrsdk.com/documentation/Chipmunk2D/interface_chipmunk_damped_spring.html

    Then ride a bike with suspension.

    Then press down on the bonnet of a car and let it spring back. Notice what happens.

    iTap DevelopmentI 2 Replies Last reply
    0
    • D Deeeds

      @iTap-Development I'm now absolutely convinced you have no idea how damping works, or what it is.

      Read here:

      https://blurrrsdk.com/documentation/Chipmunk2D/interface_chipmunk_damped_spring.html

      Then ride a bike with suspension.

      Then press down on the bonnet of a car and let it spring back. Notice what happens.

      iTap DevelopmentI Offline
      iTap DevelopmentI Offline
      iTap Development
      wrote on last edited by
      #14

      @Deeeds damping effectively reduces the speed/force of a decompressing spring, right?

      D 1 Reply Last reply
      0
      • iTap DevelopmentI iTap Development

        @Deeeds said in Attached Objects & Collisions Misfunctional:

        @Thecheater887 I've made a couple of posts about spring and rope joints being completely wonky. Damping isn't set up right. I get a sense that some of the physics never got finished, and certainly hasn't been tested.

        I'm doing all sorts of workarounds ontop of workarounds to get pin joints to work happily, which shouldn't be necessary. They should just work. But they don't.

        It's necessary to remove all mass and friction from your attached objects, which means they have none of the benefits of being physics objects, and I'm (quite literally) simply using pins and welds as "parenting".

        I went through quite a lot of trial and error to find that the physics in hyperPad is good for simple things, impossibly broken for anything like a rigged object, and there's no boolean shaping, or snapping of shapes, so I stuck with simple. VERY SIMPLE.

        Which is a great shame, because the blend of cocos2D and Chipmunk is the very best of both worlds, and should/could be the shining light of hyperPad.

        By rigged object, you mean for example a truck with suspension and turning wheels?

        T Offline
        T Offline
        Thecheater887
        wrote on last edited by
        #15

        @iTap-Development I want the attached object to work as if it's "screwed" onto the roof of the vehicle.

        Like a light bar on a police car, or an antenna on a motorcycle.

        I want to be able to swap out these parts interchangeably, or remove them altogether.

        If they are there, they need to act as if they are one with the vehicle, like they do in real life.

        The fact that weld attach is described to do this and doesn't is what my complaint was about.

        I do believe no one has addressed the collisions complaint, but I could very well just be blind, too.

        iTap DevelopmentI 1 Reply Last reply
        0
        • T Thecheater887

          @iTap-Development I want the attached object to work as if it's "screwed" onto the roof of the vehicle.

          Like a light bar on a police car, or an antenna on a motorcycle.

          I want to be able to swap out these parts interchangeably, or remove them altogether.

          If they are there, they need to act as if they are one with the vehicle, like they do in real life.

          The fact that weld attach is described to do this and doesn't is what my complaint was about.

          I do believe no one has addressed the collisions complaint, but I could very well just be blind, too.

          iTap DevelopmentI Offline
          iTap DevelopmentI Offline
          iTap Development
          wrote on last edited by
          #16

          @Thecheater887 I think weld works, except it might kinda wobble, but I haven’t used it in a long time.

          T D 2 Replies Last reply
          0
          • iTap DevelopmentI iTap Development

            @Thecheater887 I think weld works, except it might kinda wobble, but I haven’t used it in a long time.

            T Offline
            T Offline
            Thecheater887
            wrote on last edited by Thecheater887
            #17

            @iTap-Development False.

            http://bit.ly/2zLlh7n

            This is something you might see in a frictionless magical dimension, not a realistic one.

            It's even worse when you try to precisely control the vehicles movements.

            Move to objects don't help, set velocity and rotate is always off, and then there's this.

            1 Reply Last reply
            0
            • iTap DevelopmentI iTap Development

              @Thecheater887 I think weld works, except it might kinda wobble, but I haven’t used it in a long time.

              D Offline
              D Offline
              Deeeds
              wrote on last edited by
              #18

              @iTap-Development said in Attached Objects & Collisions Misfunctional:

              I think weld works, except it might kinda wobble,

              This is the exact definition of a weld that doesn't work.

              iTap DevelopmentI 1 Reply Last reply
              0
              • iTap DevelopmentI iTap Development

                @Deeeds damping effectively reduces the speed/force of a decompressing spring, right?

                D Offline
                D Offline
                Deeeds
                wrote on last edited by
                #19

                @iTap-Development said in Attached Objects & Collisions Misfunctional:

                damping effectively reduces the speed/force of a decompressing spring, right?

                keep googling and reading. You'll get there...

                iTap DevelopmentI 1 Reply Last reply
                0
                • D Deeeds

                  @iTap-Development said in Attached Objects & Collisions Misfunctional:

                  I think weld works, except it might kinda wobble,

                  This is the exact definition of a weld that doesn't work.

                  iTap DevelopmentI Offline
                  iTap DevelopmentI Offline
                  iTap Development
                  wrote on last edited by
                  #20

                  @Deeeds I just tried a weld...I thought they had a very slight wobble, but it actually works perfect.

                  1 Reply Last reply
                  0
                  • D Deeeds

                    @iTap-Development said in Attached Objects & Collisions Misfunctional:

                    damping effectively reduces the speed/force of a decompressing spring, right?

                    keep googling and reading. You'll get there...

                    iTap DevelopmentI Offline
                    iTap DevelopmentI Offline
                    iTap Development
                    wrote on last edited by
                    #21

                    @Deeeds maybe you could define/explain damping then?

                    D 2 Replies Last reply
                    0
                    • iTap DevelopmentI iTap Development

                      @Deeeds maybe you could define/explain damping then?

                      D Offline
                      D Offline
                      Deeeds
                      wrote on last edited by
                      #22

                      @iTap-Development I have. In our last discussion on this matter. You weren't listening then, you aren't now.

                      iTap DevelopmentI 1 Reply Last reply
                      0
                      • iTap DevelopmentI iTap Development

                        @Deeeds maybe you could define/explain damping then?

                        D Offline
                        D Offline
                        Deeeds
                        wrote on last edited by
                        #23

                        @iTap-Development

                        https://forum.hyperpad.com/topic/667/does-a-loop-of-type-conditional-respect-wait

                        iTap DevelopmentI 1 Reply Last reply
                        0
                        • D Deeeds

                          @iTap-Development I have. In our last discussion on this matter. You weren't listening then, you aren't now.

                          iTap DevelopmentI Offline
                          iTap DevelopmentI Offline
                          iTap Development
                          wrote on last edited by
                          #24

                          @Deeeds I am listening, that’s why I asked.

                          1 Reply Last reply
                          0
                          • D Deeeds

                            @iTap-Development

                            https://forum.hyperpad.com/topic/667/does-a-loop-of-type-conditional-respect-wait

                            iTap DevelopmentI Offline
                            iTap DevelopmentI Offline
                            iTap Development
                            wrote on last edited by iTap Development
                            #25

                            @Deeeds you said, “That's not how damping works.

                            As I said, damping is the force that reduces oscillation. If it was a force coming back from the other object it would (at the very least) sustain oscillations, if not increase them in the perfectness of a physics simulation.”

                            So explain how it reduces oscillation, and the effect that produces.

                            And I’m not saying it’s a force pushing back the other way, What I mean is more of an effect of restricting the decompressing of the spring.

                            D 1 Reply Last reply
                            0
                            • iTap DevelopmentI iTap Development

                              @Deeeds you said, “That's not how damping works.

                              As I said, damping is the force that reduces oscillation. If it was a force coming back from the other object it would (at the very least) sustain oscillations, if not increase them in the perfectness of a physics simulation.”

                              So explain how it reduces oscillation, and the effect that produces.

                              And I’m not saying it’s a force pushing back the other way, What I mean is more of an effect of restricting the decompressing of the spring.

                              D Offline
                              D Offline
                              Deeeds
                              wrote on last edited by
                              #26

                              @iTap-Development said in Attached Objects & Collisions Misfunctional:

                              @Deeeds you said, “That's not how damping works.

                              As I said, damping is the force that reduces oscillation. If it was a force coming back from the other object it would (at the very least) sustain oscillations, if not increase them in the perfectness of a physics simulation.”

                              So explain how it reduces oscillation, and the effect that produces.

                              And I’m not saying it’s a force pushing back the other way, What I mean is more of an effect of restricting the decompressing of the spring.

                              @iTap-Development It's clear you've learnt something since last time, and attempting to paint yourself as having been right and being right.

                              Give up on that. Particularly the bold endeavour to divert to discussion of "effect" as though that's going to somehow obscure your previous claims of these joints being "fine".

                              iTap DevelopmentI 1 Reply Last reply
                              0
                              • T Offline
                                T Offline
                                Thecheater887
                                wrote on last edited by
                                #27

                                Can we not?

                                D 1 Reply Last reply
                                0
                                • T Thecheater887

                                  Can we not?

                                  D Offline
                                  D Offline
                                  Deeeds
                                  wrote on last edited by Deeeds
                                  #28

                                  @Thecheater887 Joints are broken.

                                  Helping one person to see that might help all to understand this to be the case.

                                  It's not just the joints and collisions you're discussing that have issues. I've not yet seen a joint in hyperPad respond the way it should and could if it was a correctly implemented utilisation of Chipmunk2D. And there's other peculiar stuff, too. Friction works more efficiently than it should, or traditionally does in Chipmunk2D. Which is even weirder than anything else about the whole setup, and something I'm exploiting.

                                  I'm pretty sure that the values used for error correction and bias in the constraints parent class are "wrong" for the rest of the values used in the hyperPad Chipmunk space setup. This would go a long ways to explaining how the rope behaves weirdly, and somewhat explain the misbehaviour of the spring "joint".

                                  But the spring joint has other problems, too.

                                  The fact that weld and pivot don't work properly is explained by what @Hamed has said he's doing to fake air resistance in Chipmunk. That's causing that lag you're seeing on objects that still have friction and mass, I think. My circumvention of this problem was the complete zeroing of mass and friction for the attached objects and then using them as placeholders for what I actually wanted to do with a proper pin and weld joint.

                                  A limiting mess.

                                  I can't work around the problems in the Spring and Rope setup, so made horrible fake lerps with Move To... but, as I've said before, I haven't had a chance to identify all the issues and detective the problems with physics.

                                  And I no longer need do that, as @Hamed's comments confirmed a suspicion I had, that some things were fundamentally wrong with how Chipmunk was being utilised.

                                  1 Reply Last reply
                                  0
                                  • D Deeeds

                                    @iTap-Development said in Attached Objects & Collisions Misfunctional:

                                    @Deeeds you said, “That's not how damping works.

                                    As I said, damping is the force that reduces oscillation. If it was a force coming back from the other object it would (at the very least) sustain oscillations, if not increase them in the perfectness of a physics simulation.”

                                    So explain how it reduces oscillation, and the effect that produces.

                                    And I’m not saying it’s a force pushing back the other way, What I mean is more of an effect of restricting the decompressing of the spring.

                                    @iTap-Development It's clear you've learnt something since last time, and attempting to paint yourself as having been right and being right.

                                    Give up on that. Particularly the bold endeavour to divert to discussion of "effect" as though that's going to somehow obscure your previous claims of these joints being "fine".

                                    iTap DevelopmentI Offline
                                    iTap DevelopmentI Offline
                                    iTap Development
                                    wrote on last edited by iTap Development
                                    #29

                                    @Deeeds said in Attached Objects & Collisions Misfunctional:

                                    @iTap-Development said in Attached Objects & Collisions Misfunctional:

                                    @Deeeds you said, “That's not how damping works.

                                    As I said, damping is the force that reduces oscillation. If it was a force coming back from the other object it would (at the very least) sustain oscillations, if not increase them in the perfectness of a physics simulation.”

                                    So explain how it reduces oscillation, and the effect that produc

                                    And I’m not saying it’s a force pushing back the other way, What I mean is more of an effect of restricting the decompressing of the spring.

                                    @iTap-Development It's clear you've learnt something since last time, and attempting to paint yourself as having been right and being right.

                                    Give up on that. Particularly the bold endeavour to divert to discussion of "effect" as though that's going to somehow obscure your previous claims of these joints being "fine".

                                    I have not learned anything, I haven’t looked at the link you sent, and I didn’t ride a bike(although I’ve been riding atv’s and side by sides since I was like 6, and yes I’ve played with the suspention lol). I guess I wasn’t making myself clear.

                                    You said, “Particularly the bold endeavour to divert to discussion of "effect" as though that's going to somehow obscure your previous claims of these joints being "fine".”

                                    I didn’t divert to effect! Effect is what I mention in the first place.......“damping effectively reduces the speed/force of a decompressing spring, right?”.

                                    As for them working fine, did you even look at the project I sent? Pivots and springs work normal in it.

                                    D 1 Reply Last reply
                                    0
                                    • D Deeeds

                                      @iTap-Development I'm now absolutely convinced you have no idea how damping works, or what it is.

                                      Read here:

                                      https://blurrrsdk.com/documentation/Chipmunk2D/interface_chipmunk_damped_spring.html

                                      Then ride a bike with suspension.

                                      Then press down on the bonnet of a car and let it spring back. Notice what happens.

                                      iTap DevelopmentI Offline
                                      iTap DevelopmentI Offline
                                      iTap Development
                                      wrote on last edited by iTap Development
                                      #30

                                      @Deeeds said in Attached Objects & Collisions Misfunctional:

                                      @iTap-Development I'm now absolutely convinced you have no idea how damping works, or what it is.

                                      Read here:

                                      https://blurrrsdk.com/documentation/Chipmunk2D/interface_chipmunk_damped_spring.html

                                      Then ride a bike with suspension.

                                      Then press down on the bonnet of a car and let it spring back. Notice what happens.

                                      It appears more like you are trying to paint yourself as being right, since here you said you were “absolutely convinced I had no idea how damping works, or what it is” and now you say “It's clear you've learnt something since last time”. I know I’m not an expert in this area, but apparently I have at least a limited understanding.

                                      D 1 Reply Last reply
                                      0
                                      • iTap DevelopmentI iTap Development

                                        @Deeeds said in Attached Objects & Collisions Misfunctional:

                                        @iTap-Development said in Attached Objects & Collisions Misfunctional:

                                        @Deeeds you said, “That's not how damping works.

                                        As I said, damping is the force that reduces oscillation. If it was a force coming back from the other object it would (at the very least) sustain oscillations, if not increase them in the perfectness of a physics simulation.”

                                        So explain how it reduces oscillation, and the effect that produc

                                        And I’m not saying it’s a force pushing back the other way, What I mean is more of an effect of restricting the decompressing of the spring.

                                        @iTap-Development It's clear you've learnt something since last time, and attempting to paint yourself as having been right and being right.

                                        Give up on that. Particularly the bold endeavour to divert to discussion of "effect" as though that's going to somehow obscure your previous claims of these joints being "fine".

                                        I have not learned anything, I haven’t looked at the link you sent, and I didn’t ride a bike(although I’ve been riding atv’s and side by sides since I was like 6, and yes I’ve played with the suspention lol). I guess I wasn’t making myself clear.

                                        You said, “Particularly the bold endeavour to divert to discussion of "effect" as though that's going to somehow obscure your previous claims of these joints being "fine".”

                                        I didn’t divert to effect! Effect is what I mention in the first place.......“damping effectively reduces the speed/force of a decompressing spring, right?”.

                                        As for them working fine, did you even look at the project I sent? Pivots and springs work normal in it.

                                        D Offline
                                        D Offline
                                        Deeeds
                                        wrote on last edited by
                                        #31

                                        @iTap-Development said in Attached Objects & Collisions Misfunctional:

                                        Pivots and springs work normal in it.

                                        Normal being what, exactly?

                                        iTap DevelopmentI 1 Reply Last reply
                                        0
                                        • D Deeeds

                                          @iTap-Development said in Attached Objects & Collisions Misfunctional:

                                          Pivots and springs work normal in it.

                                          Normal being what, exactly?

                                          iTap DevelopmentI Offline
                                          iTap DevelopmentI Offline
                                          iTap Development
                                          wrote on last edited by iTap Development
                                          #32

                                          @Deeeds normal is defined as,
                                          0_1512329081304_BE0F4003-A5C2-47A9-B483-CFB365A276CC.png

                                          Sorry, I should have used a more common, understandable word......

                                          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