TestHand.GrabAndThrowAt(Vector3, Boolean, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Combined sequence of pinching, moving, and releasing.
public System.Collections.IEnumerator GrabAndThrowAt (UnityEngine.Vector3 positionToRelease, bool waitForFinalFixedUpdate, int numSteps = 30);
member this.GrabAndThrowAt : UnityEngine.Vector3 * bool * int -> System.Collections.IEnumerator
Public Iterator Function GrabAndThrowAt (positionToRelease As Vector3, waitForFinalFixedUpdate As Boolean, Optional numSteps As Integer = 30) As IEnumerator
Parameters
- positionToRelease
- UnityEngine.Vector3
The position to which the hand moves while pinching
- waitForFinalFixedUpdate
- Boolean
Wait for a final physics update after releasing
- numSteps
- Int32
Number of steps of the hand movement