Skip to content
This repository was archived by the owner on Jul 12, 2021. It is now read-only.

Craft dynamics proposal: deformation #1

@sshilovsky

Description

@sshilovsky

General discussion thread
So @audigex has suggested this idea on discord (slightly detailed by me while i'm typing):

KSP models craft dynamics entirely per-part, with joint forces between parts. This model while being flexible turned out to lead to craft wobbling visibly, up to being torn apart by Kraken without particular reason.

The suggestion is to calculate dynamics for the craft as a whole then, with gravitation, thrust and other forces applied to it as to a single body. One of the features needed though is the craft to be able to crash under some circumstances:

  • Sudden acceleration due to landing or diving into liquid on speed

  • Being torn apart in the atmosphere due to air drag

  • Other reasons, not dynamics-related, but we really only address dynamics here

We can calculate overall craft durability properties and when the forces applied are big enough, start virtually deformating the craft. Say, we can accumulate some deformation(damage) property, while deformation is still resilient, and when some value is reached, we can initiate the process of destroying the craft part-by-part. UPD: it is supposed that when severe conditions are over, resilient deformation is cancelled, i.e. damage is nullified.

How can we model this deformation from physics point of view? How does it relate to craft size? Can we ignore craft shape in this sense, or do we have to track deformation per-part when it becomes applicable (i think we have to)? Do you come up with some other deformation model?

We also need to find which part gets destroyed at the given moment. E.g. when lithobraking, should the bottom part break first, or some other part in the middle of the craft which has the lowest resilience? Does this depend on the distance from the point of collision to the craft? Does this depend on direction of the force applied? How can we model this all? UPD: as stated above, we probably don't want to model all the forces between parts; but can we somehow know in advance which part of the given craft gets destroyed first?

While we're on our way to decide on dev environment, we could investigate into this model and check if it makes sense from the physics point of view. We can create a 2D or 3D app to test particular deformation model and see how it would look like.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions