GentleMoa / P6_Spectroscopy

A sixth semester project from students of the Expanded Realities course of study at the h-da Hochschule Darmstadt.
4 stars 0 forks source link

Robot Arms Controllers - First Steps #24

Closed GentleMoa closed 2 years ago

GentleMoa commented 2 years ago

Problem 1: The Raycast Direction is always the same. Vector3.forward means the raycast is always shot forward from the hands original position. Solution A: Change the Raycast Direction

Problem 2: Changing up the keybindings for OnSelect made it so that you now grab with Trigger Button instead of Grab Button Solution A: Don't use the interactable event, but write a custom script which listens for Trigger Button input and then does something Solution B: Just have the Robot Arms Target Position update, when ever the grab button is pressed