Table of Contents

Class CollisionController

Namespace
Interaction

Detects and handles collisions of TrainAR Objects. This is e.g. used for combining GameObjects and visualizing interseted states through outlining and shading.

public class CollisionController : MonoBehaviour
Inheritance
object
CollisionController

Fields

boxCollider

Holds a reference to the BoxCollider of the attached Gameobject.

public BoxCollider boxCollider

Field Value

BoxCollider

Boundingbox with dimensions of the mesh.

grabbedObject

Holds a reference to the currently grabbed TrainAR object.

public GameObject grabbedObject

Field Value

GameObject

Is changed depending on the grabbed object.