CollidersSetCollisionIgnores Method (Part, Part, Boolean) |
Disables/enables all the colliders between the parts.
Namespace:
KSPDev.ModelUtils
Assembly:
KSPDev_Utils.1.1 (in KSPDev_Utils.1.1.dll) Version: 1.1 for KSP v1.6+
Syntaxpublic static void SetCollisionIgnores(
Part part1,
Part part2,
bool ignore
)
Request Example
View SourceParameters
- part1
- Type: (Default Namespace)Part
Source part. - part2
- Type: (Default Namespace)Part
Target part. - ignore
- Type: SystemBoolean
If true then the collisions between the parts will be ignored. Otherwise, the
collisions will be handled.
RemarksThe ignore state is reset to false on every scene load.
See Also