Created
June 22, 2020 17:18
-
-
Save Drumsmasher17/c67f7353cdd864f303712738491a74f7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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