Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Static Public Member Functions | Public Attributes | List of all members
physicalObject Class Reference

Small, one shot debris that are not persistent. This class will remove the objects at distance and ensure they are properly integrated with krakensbane systems. More...

Inheritance diagram for physicalObject:

Static Public Member Functions

static physicalObject ConvertToPhysicalObject (Part part, GameObject obj)
 

Public Attributes

float maxDistance = 1000f
 
float origDrag = 1f
 
Rigidbody rb
 Use this for initialization. More...
 

Detailed Description

Small, one shot debris that are not persistent. This class will remove the objects at distance and ensure they are properly integrated with krakensbane systems.

Member Function Documentation

static physicalObject physicalObject.ConvertToPhysicalObject ( Part  part,
GameObject  obj 
)
inlinestatic

< panels are not parts, and can't be terrain, so they're put in a PhysicalObjects layer which Kerbals are allowed to stand on

Member Data Documentation

float physicalObject.maxDistance = 1000f
float physicalObject.origDrag = 1f
Rigidbody physicalObject.rb

Use this for initialization.


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