Open volpespakka opened 5 years ago
After you assign at runtime to an object, can you try the following method,
After changing "Grab Button" to "Grip Or Hand Trigger", you should be able to grab objects by using Grip button instead.
I tried your code before runtime (in Awake()), it works by changing the value to "Grip Or Hand Trigger". Could you help to check after your code executes, the BasicGrabbable's grab button is changed to "Grip Or Hand Trigger" like the image I attached?
If you are still having problem, please share your project, thanks!
When i assign at runtime the BasicGrabbable to a object I cannot change the default grab button. I noticed that if i keep the trigger button (default) i can grab the object, but i need to use the grip button, so i change it using grab.grabButton =ColliderEvent.ColliderButtonEventData.InputButton.GripOrHandTrigger;
but then i continue to grab the object using trigger, am i missing something?