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

    Make Air Resistance same as Get/Set Gravity

    Scheduled Pinned Locked Moved
    Comments & Feedback
    3
    8
    214
    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
      last edited by

      Air Resistance Behaviour is kind of a setter, but has no getter.

      Gravity has both a getter and setter.

      Please give Air Resistance both a getter and setter.

      Since it's a property that's applicable to individual objects and is an over-ride, please provide both a getter and a setter for this wonderfully useful feature.

      This way conditional logic can be used that finds out what the current value of air resistance is for any given object before doing its magic to change it accordingly.

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

        I don't see any reason why you would need to get the air resistance. If you were to be creating a complex physics system with changes in air resistance, I would expect you would just naturally keep track of those changes.

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

          @GameCRAZY Tuck your shirt in, your hubris is showing.

          GameCRAZYG 1 Reply Last reply Reply Quote -1
          • Aidan_FireA
            Aidan_Fire
            last edited by

            Yep I agree with GameCRAZY, I’d just set the value inside a box container to whatever you set the air resistance. It is a bit inconsistent though, I’m not sure why lots of other behaviours have Gets for them and this one doesn’t, but it’s really easy to work around.

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

              @Aidan-Oxley said in Make Air Resistance same as Get/Set Gravity:

              It is a bit inconsistent though, I’m not sure why lots of other behaviours have Gets for them and this one doesn’t

              This is a good enough reason to fix this issue.

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

                @Deeeds Yep. Just saying though, it’s not that important.

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

                  @Aidan-Oxley It's not that difficult, either.

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

                    @Deeeds Be it.

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