{"_id":"594949e92be16d0026ec054e","category":{"_id":"594949e62be16d0026ec04cf","version":"594949e52be16d0026ec04cd","project":"571fa55ca0acd42000af9545","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-07-31T16:56:01.612Z","from_sync":false,"order":1,"slug":"prefabs","title":"Prefabs"},"user":"571fa519db52d01700f5cf3d","parentDoc":null,"project":"571fa55ca0acd42000af9545","version":{"_id":"594949e52be16d0026ec04cd","project":"571fa55ca0acd42000af9545","__v":2,"createdAt":"2017-06-20T16:14:29.816Z","releaseDate":"2017-06-20T16:14:29.816Z","categories":["594949e62be16d0026ec04ce","594949e62be16d0026ec04cf","594949e62be16d0026ec04d0","594949e62be16d0026ec04d1","594949e62be16d0026ec04d2","594949e62be16d0026ec04d3","594949e62be16d0026ec04d4","594949e62be16d0026ec04d5","594949e62be16d0026ec04d6","594949e62be16d0026ec04d7","594949e62be16d0026ec04d8","594949e62be16d0026ec04d9","594949e62be16d0026ec04da","594949e62be16d0026ec04db","594949e62be16d0026ec04dc","594949e62be16d0026ec04dd","594949e62be16d0026ec04de","594949e62be16d0026ec04df","594949e62be16d0026ec04e0","594949e62be16d0026ec04e1","59497219f4a8980024dd0631"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"Kunekune","version_clean":"3.2.0","version":"3.2.0"},"__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-09-19T13:01:32.283Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":9,"body":"> extends [VRTK_RadialMenuController](doc:vrtk_radialmenucontroller)\n\n## Overview\n\nThis script inherited from `RadialMenuController` and therefore can be used instead of `RadialMenuController` to allow the RadialMenu to be anchored to any object, not just a controller. The RadialMenu will show when a controller is near the object and the buttons can be clicked with the `Use Alias` button. The menu also automatically rotates towards the user.\n\nTo convert the default `RadialMenu` prefab to be independent of the controllers:\n\n* Make the `RadialMenu` a child of an object other than a controller.\n* Position and scale the menu by adjusting the transform of the `RadialMenu` empty.\n* Replace `RadialMenuController` with `VRTK_IndependentRadialMenuController`.\n* Ensure the parent object has the `VRTK_InteractableObject` script.\n* Verify that `Is Usable` and `Hold Button to Use` are both checked.\n* Attach `VRTK_InteractTouch` and `VRTK_InteractUse` scripts to the controllers.\n\n## Inspector Parameters\n\n * **Events Manager:** If the RadialMenu is the child of an object with VRTK_InteractableObject attached, this will be automatically obtained. It can also be manually set.\n * **Add Menu Collider:** Whether or not the script should dynamically add a SphereCollider to surround the menu.\n * **Collider Radius Multiplier:** This times the size of the RadialMenu is the size of the collider.\n * **Hide After Execution:** If true, after a button is clicked, the RadialMenu will hide.\n * **Offset Multiplier:** How far away from the object the menu should be placed, relative to the size of the RadialMenu.\n * **Rotate Towards:** The object the RadialMenu should face towards. If left empty, it will automatically try to find the Headset Camera.\n\n## Class Methods\n\n### UpdateEventsManager/0\n\n  > `public virtual void UpdateEventsManager()`\n\n  * Parameters\n   * _none_\n  * Returns\n   * _none_\n\nThe UpdateEventsManager method is used to update the events within the menu controller.","excerpt":"","slug":"independentradialmenucontroller","type":"basic","title":"Independent Radial Menu Controller"}

Independent Radial Menu Controller


> extends [VRTK_RadialMenuController](doc:vrtk_radialmenucontroller) ## Overview This script inherited from `RadialMenuController` and therefore can be used instead of `RadialMenuController` to allow the RadialMenu to be anchored to any object, not just a controller. The RadialMenu will show when a controller is near the object and the buttons can be clicked with the `Use Alias` button. The menu also automatically rotates towards the user. To convert the default `RadialMenu` prefab to be independent of the controllers: * Make the `RadialMenu` a child of an object other than a controller. * Position and scale the menu by adjusting the transform of the `RadialMenu` empty. * Replace `RadialMenuController` with `VRTK_IndependentRadialMenuController`. * Ensure the parent object has the `VRTK_InteractableObject` script. * Verify that `Is Usable` and `Hold Button to Use` are both checked. * Attach `VRTK_InteractTouch` and `VRTK_InteractUse` scripts to the controllers. ## Inspector Parameters * **Events Manager:** If the RadialMenu is the child of an object with VRTK_InteractableObject attached, this will be automatically obtained. It can also be manually set. * **Add Menu Collider:** Whether or not the script should dynamically add a SphereCollider to surround the menu. * **Collider Radius Multiplier:** This times the size of the RadialMenu is the size of the collider. * **Hide After Execution:** If true, after a button is clicked, the RadialMenu will hide. * **Offset Multiplier:** How far away from the object the menu should be placed, relative to the size of the RadialMenu. * **Rotate Towards:** The object the RadialMenu should face towards. If left empty, it will automatically try to find the Headset Camera. ## Class Methods ### UpdateEventsManager/0 > `public virtual void UpdateEventsManager()` * Parameters * _none_ * Returns * _none_ The UpdateEventsManager method is used to update the events within the menu controller.