-
Notifications
You must be signed in to change notification settings - Fork 16
AssemblyTypeJointSettings
Namespace: TommoJProductions.ModApi.Attachable
Represents settings for assembly type, joint
public class AssemblyTypeJointSettingsInheritance Object → AssemblyTypeJointSettings
Represents the break force to break this joint. NOTE: unbreakable joints are Single.PositiveInfinity.
public float breakForce;represents if the bolts tightness effects the joints breakforce.
public bool boltTightnessEffectsBreakforce;Represents the breakforce min limit. Relevant only to boltable parts that have the AssemblyTypeJointSettings.boltTightnessEffectsBreakforce setting set to . Used as an inital value so that the part being installed doesn't fall off before the player can tighten bolts. This value must be high enough to support the part's weight but lower then AssemblyTypeJointSettings.breakForce.
public float breakForceMin { get; set; }Inits new joint settings class with default values
public AssemblyTypeJointSettings()Inits new joint settings class and assigns class variables.
public AssemblyTypeJointSettings(float breakForce)breakForce Single
Inits new joint settings class and assigns all class variables.
public AssemblyTypeJointSettings(float breakForce, float breakForceMin, bool boltTightnessEffectsBreakForce)breakForce Single
breakForceMin Single
boltTightnessEffectsBreakForce Boolean
Inits new joint settings class and assigns instance variables.
public AssemblyTypeJointSettings(AssemblyTypeJointSettings atjs)