Jump to content

SoftJointLimit


Recommended Posts

With KSP 1.1.x a new feature was introduced in the PartJoint. Now craft can deform and keep that shape.

I'm creating a mod and I'd like to know if I can set the SoftJointLimit in the part.cfg. I'd like to remove the spring/bounce effect.

So far I've found this in the KSP API docs:

Quote
SoftJointLimit  angularLimit
  FTE-DJ Unity 5 change Joint spring now seperate class. More...
 
SoftJointLimitSpring  angularLimitSpring

and

Quote
SoftJointLimit  linearJointLimit
  FTE-DJ Unity 5 change Joint spring now seperate class. More...
 
SoftJointLimitSpring  linearJointLimitSpring

but it seems the rest of the documentation is missing. I'm assuming it's a float but adding it in the part.cfg has 0 effect.

The Unity documentation has this to say:

Quote

SoftJointLimit.bounciness

 
 
 
public float bounciness;

Description

When the joint hits the limit, it can be made to bounce off it.

Bounciness determines how much to bounce off an limit. range { 0, 1 }.

 

Unfortunately I can't code so a plugin is out of the question. If anyone has an insight, I'd be grateful.

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