Colliders Class |
Namespace: KSPDev.ModelUtils
The Colliders type exposes the following members.
| Name | Description | |
|---|---|---|
| AdjustCollider | Adds or adjusts a primitive collider on the mesh. | |
| GetSqrDistanceToPart |
Returns the minimum square distance to the nearest point on the part's collider surface.
| |
| GetSqrDistanceToPartOrDefault |
Returns the minimum square distance to the nearest point on the part's collider surface.
| |
| SetCollisionIgnores(Part, Part, Boolean) | Disables/enables all the colliders between the parts. | |
| SetCollisionIgnores(Part, Vessel, Boolean) | Disables/enables all the collidres between the part and a vessel. | |
| SetCollisionIgnores(Transform, Transform, Boolean) | Disables/enables all the colliders between the objects. | |
| SetSimpleCollider |
Drops the colliders in all the children objects, and adds one big collider to the parent.
| |
| UpdateColliders | Sets the specified values to colliders of all the objects in the part's model.
|