Search Results for

    Show / Hide Table of Contents

    Class CollisionController

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

    Inheritance
    System.Object
    CollisionController
    Namespace: Interaction
    Assembly: Assembly-CSharp.dll
    Syntax
    public class CollisionController : MonoBehaviour

    Fields

    | Improve this Doc View Source

    boxCollider

    Holds a reference to the BoxCollider of the attached Gameobject.

    Declaration
    public BoxCollider boxCollider
    Field Value
    Type Description
    BoxCollider

    Boundingbox with dimensions of the mesh.

    | Improve this Doc View Source

    grabbedObject

    Holds a reference to the currently grabbed TrainAR object.

    Declaration
    public GameObject grabbedObject
    Field Value
    Type Description
    GameObject

    Is changed depending on the grabbed object.

    • Improve this Doc
    • View Source
    In This Article
    Back to top TrainAR Documentation