{"_id":"58796782cd4a9c37007c9753","version":{"_id":"58796781cd4a9c37007c96ef","__v":4,"project":"571fa55ca0acd42000af9545","createdAt":"2017-01-13T23:49:21.393Z","releaseDate":"2017-01-13T23:49:21.393Z","categories":["58796781cd4a9c37007c96f0","58796781cd4a9c37007c96f1","58796781cd4a9c37007c96f2","58796781cd4a9c37007c96f3","58796781cd4a9c37007c96f4","58796781cd4a9c37007c96f5","58796781cd4a9c37007c96f6","58796781cd4a9c37007c96f7","58796781cd4a9c37007c96f8","58796781cd4a9c37007c96f9","58796781cd4a9c37007c96fa","58796781cd4a9c37007c96fb","58796781cd4a9c37007c96fc","58796781cd4a9c37007c96fd","58796781cd4a9c37007c96fe","58796781cd4a9c37007c96ff","58796781cd4a9c37007c9700","58b157ca1756cf370022f90d","58b1596f5dae732f00adeca2","58b1605a5dae732f00adecb1"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"Mukota","version_clean":"3.1.0","version":"3.1.0"},"project":"571fa55ca0acd42000af9545","user":"571fa519db52d01700f5cf3d","parentDoc":null,"__v":0,"category":{"_id":"58796781cd4a9c37007c96f1","project":"571fa55ca0acd42000af9545","__v":0,"version":"58796781cd4a9c37007c96ef","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-07-31T16:56:01.612Z","from_sync":false,"order":1,"slug":"prefabs","title":"Prefabs"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-10-16T08:07:23.561Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":5,"body":"## Overview\n\nThis adds a simple trigger collider volume that when a controller enters will enable the rigidbody on the controller.\n\nThe prefab game object should be placed in the scene where another interactable game object (such as a button control) is located to turn the controller rigidbody on at the appropriate time for interaction with the control without needing to manually activate by pressing the grab.\n\nIf the prefab is placed as a child of the target interactable game object then the collider volume on the prefab will trigger collisions on the interactable object.\n\nThe sphere collider on the prefab can have the radius adjusted to determine how close the controller needs to be to the object before the rigidbody is activated.\n\nIt's also possible to replace the sphere trigger collider with an alternative trigger collider for customised collision detection.\n\n## Inspector Parameters\n\n * **Is Enabled:** If this is checked then the collider will have it's rigidbody toggled on and off during a collision.","excerpt":"","slug":"controller-rigidbody-activator","type":"basic","title":"Controller Rigidbody Activator"}

Controller Rigidbody Activator


## Overview This adds a simple trigger collider volume that when a controller enters will enable the rigidbody on the controller. The prefab game object should be placed in the scene where another interactable game object (such as a button control) is located to turn the controller rigidbody on at the appropriate time for interaction with the control without needing to manually activate by pressing the grab. If the prefab is placed as a child of the target interactable game object then the collider volume on the prefab will trigger collisions on the interactable object. The sphere collider on the prefab can have the radius adjusted to determine how close the controller needs to be to the object before the rigidbody is activated. It's also possible to replace the sphere trigger collider with an alternative trigger collider for customised collision detection. ## Inspector Parameters * **Is Enabled:** If this is checked then the collider will have it's rigidbody toggled on and off during a collision.