Profile image

What partsCollisionRespons code do?

4,252 Chickendude  3.2 years ago

I already know overload months ago, but this is the question i really want to ask, what partsCollisionResponse do ?, i saw this code everytime i open overload and i think, what this code do?, so can somebody answer my question

  • Log in to leave a comment
  • Profile image

    @Chickendude you’re welcome!

    3.2 years ago
  • Profile image
    4,252 Chickendude

    @AWESOMENESS360 Wow, thanks, that really specific

    +1 3.2 years ago
  • Profile image

    @rexzion
    @Ergithe
    The disableAircraftCollisions value determines whether or not a part can collide and interact with other parts, excluding terrain; if set to “true“, it can phase through parts as if they aren’t even there. If left as “false“, it will behave normally.


    As for the partCollisionsResponse value, this one determines how it interacts with other parts AND terrain. If left at “Default”, the part in question will behave normally, and interact with parts accordingly; if it hits another part or terrain hard enough, the part(s) will take damage, and if the impact is too hard, it may explode like normal. However, if you set the partCollisionResponse value to “None” or “Disabled”, it will not interact with anything in the sense that if it hits another part or the terrain, no impact behavior is calculated, as it is disabled, therefore making the part in question immortal to impacts, whether it impacts another part or the terrain.


    For instance, if you took the “Kicking Fish“ stock jet and set its partCollisionResponse value to “None” on every single part, and proceeded to crash it into the side of a mountain, it would very likely sustain no damage whatsoever, and be perfectly fine. However, this doesn’t make everything immortal; if you did the same to something like the “Wasp” stock FA-18, and tried the same procedure(s) listed above, you’d very likely explode anyway, as bombs, missiles, and other explosives are not affected by the partCollsionResponse value, and will explode regardless of what you set it to.


    Hope this helps!

    +6 3.2 years ago
  • Profile image
    44.3k rexzion

    @Ergithe thats disableAircraftCollisions lol

    3.2 years ago