Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Classes | Static Public Member Functions | Properties | List of all members
CollisionManager Class Reference
Inheritance diagram for CollisionManager:

Static Public Member Functions

static void IgnoreCollidersOnVessel (Vessel vessel, params Collider[] ignoreColliders)
 Ignores any amount of colliders against every collider on a vessel. Only use when this needs to happen instantaneously. More...
 
static void SetCollidersOnVessel (Vessel vessel, bool ignore, params Collider[] ignoreColliders)
 Ignores any amount of colliders against every collider on a vessel. Only use when this needs to happen instantaneously. More...
 
static void UpdateAllColliders ()
 

Properties

static CollisionManager Instance [get, set]
 

Member Function Documentation

static void CollisionManager.IgnoreCollidersOnVessel ( Vessel  vessel,
params Collider[]  ignoreColliders 
)
inlinestatic

Ignores any amount of colliders against every collider on a vessel. Only use when this needs to happen instantaneously.

Parameters
vesselThe vessel.
ignoreCollidersAny amount of colliders to ignore.
static void CollisionManager.SetCollidersOnVessel ( Vessel  vessel,
bool  ignore,
params Collider[]  ignoreColliders 
)
inlinestatic

Ignores any amount of colliders against every collider on a vessel. Only use when this needs to happen instantaneously.

Parameters
vesselThe vessel.
ignoreSet to True to ignore colisions between vessel and these colliders, or false to ensure they happen
ignoreCollidersAny amount of colliders to ignore.
static void CollisionManager.UpdateAllColliders ( )
inlinestatic

Property Documentation

CollisionManager CollisionManager.Instance
staticgetset

The documentation for this class was generated from the following file: