Skip to content

Instantly share code, notes, and snippets.

@Drumsmasher17
Created June 22, 2020 17:18
Show Gist options
  • Select an option

  • Save Drumsmasher17/c67f7353cdd864f303712738491a74f7 to your computer and use it in GitHub Desktop.

Select an option

Save Drumsmasher17/c67f7353cdd864f303712738491a74f7 to your computer and use it in GitHub Desktop.
protected virtual void OnTransformUpdated(SteamVR_Behaviour_Pose updatedPose, SteamVR_Input_Sources updatedSource)
{
GameObject attachedObject = currentAttachedObject;
if (attachedObject != null)
{
if (currentAttachedObjectInfo.Value.interactable != null)
{
currentAttachedObjectInfo.Value.interactable.CustomMoveStuffFunc(); // not real function name
}
}
HandFollowUpdate();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment