Click or drag to resize

CollidersSetCollisionIgnores Method (Part, Vessel, Boolean)

Disables/enables all the collidres between the part and a vessel.

Namespace:  KSPDev.ModelUtils
Assembly:  KSPDev_Utils.1.1 (in KSPDev_Utils.1.1.dll) Version: 1.1 for KSP v1.6+
Syntax
C#
public static void SetCollisionIgnores(
	Part part,
	Vessel vessel,
	bool ignore
)
Request Example View Source

Parameters

part
Type: (Default Namespace)Part
The part to adjust colliders for.
vessel
Type: (Default Namespace)Vessel
The vessel to start/stop colliding with.
ignore
Type: SystemBoolean
The desired state of the collision check.
See Also