Profile image

How do parts get destroyed?

2,768 flyingdj  8.1 years ago

I never get to understand how parts work in sp, like when I ram my wing into the ground, my whole plane explodes. Does the parts have a hp where every collision takes some off. Or is it like in ksp where the parts have a impact tolerance. ??? Pleas tell me! And only parts containing fule should explode.

  • Log in to leave a comment
  • Profile image
    27.6k Graingy

    I’ve been wondering about those things. A heavily armed cruiser will have its entire hull disappear after only the weak deck was damaged. Pain when you want to soak up damage and feel powerful.

    3.5 years ago
  • Profile image
    2,768 flyingdj

    Jesus, I'm only eleven@JackAlpha26

    8.1 years ago
  • Profile image
    2,633 JackAlpha26

    As for the chain-explosion, it is easy to understand with that formula. Unity does not provide a direct access to the force a rigidbody is sustaining, so for every collision it takes some time to calculate using some more complex codes. And within that period, the should-be-destroyed part will collide with other parts, and create further destruction. It makes sense? Again, my own deduction only.

    8.1 years ago
  • Profile image
    2,633 JackAlpha26

    a=Δv/Δt
    F=ma
    F=mΔv/Δt
    And if that F breaks the limit, it will be destroyed. This is only my guess, but is also what I would use if I am to ever programme a script for physics-based gameobject destruction.

    +1 8.1 years ago
  • Profile image
    9,311 Hazard862

    Physics

    8.1 years ago
  • Profile image
    2,768 flyingdj

    Wow@BoxGlow

    8.1 years ago
  • Profile image
    34.0k BoxGlow

    @flyingdj I've been playing since the very first version. Me and others have been chatting with the devs in SP's Reddit page and is some occasions one of the devs would describe how parts gets damaged and explode. My explanation is somewhat simplified but the core idea is the same as how the devs implemented it in the game

    8.1 years ago
  • Profile image
    2,768 flyingdj

    But the annoying thing is that the explosion from the parts should only take off a small amount of damage, because the explosions take way too much damage and causes a chain reaction.@BoxGlow

    8.1 years ago
  • Profile image
    2,768 flyingdj

    Wow, wonder how you know that. Good brain plus lots of gaming I suppose.@BoxGlow

    8.1 years ago
  • Profile image
    34.0k BoxGlow

    Each parts has some sort of Health points.. When you hit the ground, health points decrease. When the it decrease to a certain level the part breaks off. When it fully depletes the part explode. When the parts explode it inflicts a good amount of damage in surrounding blocks. If surrounding blocks explode too, a chain reaction occurs and the plane disintegrate.

    8.1 years ago
  • Profile image
    4,236 MeetThyDoom

    Depends on how hard your wing hit the ground. I have had multiple low speed collisions with uneven ground where just a wing tip has broken off.

    8.1 years ago