Jump to content

How to use the parachute animation in a plugin ?


Recommended Posts

I\'m trying to do a paraglider, but I need the parachute system to work in the plugin. How do I code it ?

If I remember correctly, there is this line in the MechJeb Command Pod :


class MuMechUnmannedPod : CommandPod

so it works like a pod. So i maybe need to do this :


class Paraglider : Parachute

But does it works ? Will it use the normal parachute objects in Blender (Body, Cap, Canopy, etc..), the same variables in the CFG (plus my custom variables)?

?

Link to comment
Share on other sites

Well it should behave like a chute except if you override functions that contain important \'things\' for the parachute (call base.FunctionYouHaveOverridden(Params) to avoid this).

No warranty, I\'m a noob coder...

Link to comment
Share on other sites

  • 3 weeks later...

You\'ve just found the problem...

I tried something like this, using Parachutes class and a MuMech toggle-ish code. But the problem is that the code won\'t compile : deflectionLiftCoeff is specific to winglets, so it\'s not included in the parachute class...

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...