One way to do this is create a group tracker for each hand in the trackers tab. Then apply the group tracker to the avatar hand in the animator section of the avatar. In the events tab create events for moving the hand in different directions and map the events to controller signals. Then in either the postInit function of the vizconnect file or in the calling script, handle the events and update the group tracker position. I've attached an example that moves the hand with keypresses instead of Xbox controller signals. The code to update the group hand tracker is in the postInit function. Press 1 and 2 to move the hand in and out.
|