Announcement

Collapse
No announcement yet.

Difference: Hidden vs Destroyed?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Difference: Hidden vs Destroyed?

    Just wondering if there's a Difference between Hidden vs Destroyed?

    (Like a static mesh)

    Does destroying it remove memory useage? (Enough to make it worthwhile?)

    #2
    Well I suppose destroying something removes all references to that particular actor, while hidden is... well... hidden.

    Comment


      #3
      Yep.

      If you hide an object (and turn off all collision), then the player doesn't notice it's existence in the world, but it can still do things (all Info classes exist in the map, but they are hidden and have no collision and many of them are at world origin), but something that is destroyed doesn't exist as object anymore.

      So if you have a completely destroyable object placed by the mapper and that object gets destroyed, then you might want to set it to be hidden and without collision instead of destroying it because then you could make it visible and add collision again later.

      Comment


        #4
        Ok, a simple real-life example: Imagine a Klingon Bird of Prey that has landed in a park, but is cloaked. It's hidden but still there. You might hurt your head if you run into it. Now imagine another space ship that blows up said Bird of Prey. It's no longer there, you won't run into it, etc.

        Destroying stuff removes it from the world, ends its existence. Hiding stuff keeps it around, just not in a way you can see, but you can still interact with it.

        Comment


          #5
          rofl @ wormbo

          Comment


            #6
            Originally posted by Wormbo View Post
            Ok, a simple real-life example: Imagine a Klingon Bird of Prey that has landed in a park, but is cloaked. It's hidden but still there. You might hurt your head if you run into it. Now imagine another space ship that blows up said Bird of Prey. It's no longer there, you won't run into it, etc.
            Wait! What if it uses an interphase cloaking device?! What is telling you that a destroyed object isn't just moved into a parallel-universe of our RAM as well?

            Comment


              #7
              Originally posted by Crusha K. Rool View Post
              Wait! What if it uses an interphase cloaking device?!
              Wait, wasn't that against the Federation/Romulan treaty?

              Comment


                #8
                That's the fiction part in "science fiction": Even if you manage to pull an entire object into a parallel universe, what makes you sure it could easily come back? I really couldn't care less how destroyed objects manage to vanish from my RAM - they never came back yet.

                Comment

                Working...
                X