Modifier

Partager via


TestHand.GrabAndThrowAt(Vector3, Boolean, Int32) Method

Definition

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

Returns

Applies to