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

    Colliding

    Scheduled Pinned Locked Moved
    Comments & Feedback
    5
    52
    2.2k
    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 @Thecheater887
      last edited by

      @Thecheater887 This is EXACTLY the kind of problem that stems from not being able to store a reference in your replicator to the instance it has spawned.

      Instead, you have to use tags. Which means ALL objects with that tag will say they're colliding, if they are. So you won't be able to get the most recently spawned instance this way.

      You'll have to make other logic that does that, basically a manual filtering of all those with the given tag. Probably using a convoluted approach to attributes that know their order, or a sequence of live values in an array or some other approach that gets around the lack of referencing.

      It boggles my mind that nobody has bothered to write up at least one of the ways to get around referencing. Everyone knows it's an issue.

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

        @Deeeds you’ve been given multiple ways by multiple people, multiple times. But you always seem to just dismiss them for whatever reason.

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

          @iTap-Development What are you talking about?

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

            @Deeeds “It boggles my mind that nobody has bothered to write up at least one of the ways to get around referencing. Everyone knows it's an issue.”

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

              @iTap-Development Let me help you learn to use google:

              0_1515011237498_Screen Shot 2018-01-04 at 4.26.50 AM.png

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

                @Deeeds you could probably have a full written account twice if you combine all mine and other’s posts.

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

                  @iTap-Development I still don't understand your way of doing it. You never explained it.

                  "arrays... something... something ..."

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

                    @Deeeds said in Colliding:

                    @iTap-Development Let me help you learn to use google:

                    0_1515011237498_Screen Shot 2018-01-04 at 4.26.50 AM.png

                    Except, you didn’t use “write-up” as a noun!

                    “bothered to write up at least one of the ways”

                    This is a verb phrase. The action of writing “one of the ways to get around referencing”.
                    To put into writing.

                    Here’s your sentence modified to fit your definition:
                    “It boggles my mind that nobody has bothered to DO A write-up OF at least one of the ways to get around referencing. Everyone knows it's an issue.”

                    just saying😉

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

                      @Deeeds said in Colliding:

                      @iTap-Development I still don't understand your way of doing it. You never explained it.

                      "arrays... something... something ..."

                      Go re-read😄

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

                        @Thecheater887 So you don’t want the replicator to spawn a new object while I spawned object isn’t already on top of it. And you can’t disable spawning for a few seconds, or however many seconds it might take for the spawned object to go away, after spawning an object?

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          Thecheater887 @Aidan_Fire
                          last edited by Thecheater887

                          @Aidan-Oxley Spawned objects can only be destroyed by the player or by exiting the play area.

                          The player can move in 8 directions.

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

                            @Thecheater887 Hmm, the time it takes for spawned objects to leave is quite random. Are you sure none of your objects are scenery, if the collision just won’t activate? I would’ve expected that the object constantly rotating might even spam the collision behaviour.

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              Thecheater887 @Aidan_Fire
                              last edited by

                              @Aidan-Oxley All passive walls.

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

                                @Thecheater887 I’ve got no idea why the collided behaviour isn’t triggering. You could try reversing how you’re doing this, rather than detecting whether there’s an object and if there is don’t spawn another, have the spawned object tell then replicator when it has left? (If the player destroys it, tell the replicator the second it has died, if it has left the area, also tell the replicator etc). So the replicator will automatically turn off its own spawning after spawning an object, and it has to wait until a spawned object turns its spawning back on.

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

                                  @Deeeds said in Colliding:

                                  Everyone knows it's an issue.

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    Thecheater887 @Aidan_Fire
                                    last edited by

                                    @Aidan-Oxley That’s fine fire making sure of not double spawning, but I need to know when it returns, too.

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

                                      @iTap-Development I asked you questions, at the time, and made it clear I wasn't understanding your shorthand. You didn't explain, nor answer my questions. When I asked you to provide any form of justification for your approach being better than mine, you went weird. All up, I left the subject thinking you don't really know much about it. Nor can you explain or educate others on what you're doing to replace referencing.

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

                                        @Thecheater887 Ah, didn’t think of that.

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

                                          @Deeeds I don’t remember where we left off, but if you still have questions I don’t mind trying to explain again.

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

                                            @iTap-Development Cheater has questions... the one above.

                                            How do you solve THIS problem?

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