Jump to content

Parachute Affected by Force


Recommended Posts

I was gonna try and do some mucking around with having forces affecting the stock Chutes, but for the life of me I can't figure out how to apply a force to the parachute part of the model. I can apply a force to the capsule and then the parachute drags behind it, but anyone know how to apply a force to the canopy part?

Link to comment
Share on other sites

I don't think the chutes are a "lose" object, but instead, they are a part of the whole model of the part. And when the chute is deployed, the rotation of the chute is updated each frame to match the inverse velocity of the ship. As chutes "flip" around very quickly if you go from one velocity direction to another.

Link to comment
Share on other sites

I don't think the chutes are a "lose" object, but instead, they are a part of the whole model of the part. And when the chute is deployed, the rotation of the chute is updated each frame to match the inverse velocity of the ship. As chutes "flip" around very quickly if you go from one velocity direction to another.

You sure about that? It always feels to me like the other way around. Once the chute is deployed, the ship itself often changes orientation to be correct with the chute. Not to mention that you can very easily force rotate your vessel to not be along the vector of the chute.

Link to comment
Share on other sites


ModuleParachute parachute_module = [ref_to_module];

Transform transform = parachute_module.part.FindModelTransform(parachute_module.canopyName);
//Now modify the transform to point at the proper direction

This might help? I'm worthless with how the transforms work from Unity at the moment (still learning, all the coordinate systems in KSP don't help). But I think this will allow you to point the parachute in different directions.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...