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

    Attached Objects & Collisions Misfunctional

    Scheduled Pinned Locked Moved
    Help and Support
    5
    40
    2.0k
    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 @Hamed
      last edited by

      @Hamed With all due respect, I've had to explain the foibles of CADisplayLink to about a dozen different programmers over the years. Not one of them has taken me at my word. I've had to give them detailed explanations and provide insights into how and why it's not what they want, or need, for game loops.

      As Apple geared up for variable rate display technology, throughout 2013 through 2106, it became much more noticeably variable in its output.

      That cocos2D uses date instead of mach time is also bizarre. But that's for another day.

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

        @Deeeds by “fine” I meant working normal.

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

          @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 Reply Quote 0
          • iTap DevelopmentI
            iTap Development @Deeeds
            last edited by

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

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

              @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 Reply Quote 0
              • iTap DevelopmentI
                iTap Development @Thecheater887
                last edited by

                @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 Reply Quote 0
                • T
                  Thecheater887 @iTap Development
                  last edited by Thecheater887

                  @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 Reply Quote 0
                  • D
                    Deeeds @iTap Development
                    last edited by

                    @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 Reply Quote 0
                    • D
                      Deeeds @iTap Development
                      last edited by

                      @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 Reply Quote 0
                      • iTap DevelopmentI
                        iTap Development @Deeeds
                        last edited by

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

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

                          @Deeeds maybe you could define/explain damping then?

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

                            @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 Reply Quote 0
                            • D
                              Deeeds @iTap Development
                              last edited by

                              @iTap-Development

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

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

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

                                1 Reply Last reply Reply Quote 0
                                • iTap DevelopmentI
                                  iTap Development @Deeeds
                                  last edited by 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 1 Reply Last reply Reply Quote 0
                                  • D
                                    Deeeds @iTap Development
                                    last edited by

                                    @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 Reply Quote 0
                                    • T
                                      Thecheater887
                                      last edited by

                                      Can we not?

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

                                        @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 Reply Quote 0
                                        • iTap DevelopmentI
                                          iTap Development @Deeeds
                                          last edited by 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 1 Reply Last reply Reply Quote 0
                                          • iTap DevelopmentI
                                            iTap Development @Deeeds
                                            last edited by iTap Development

                                            @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 Reply Quote 0
                                            • First post
                                              Last post