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 SourceboxCollider
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. |
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. |