Modifica

Condividi tramite


HandConstraint.CalculateGoalPosition Method

Definition

Performs a ray vs AABB test to determine where the solver can constrain the tracked object without intersection. The "safe zone" is calculated as if projected into the horizontal and vertical plane of the camera.

protected:
 virtual UnityEngine::Vector3 CalculateGoalPosition();
protected virtual UnityEngine.Vector3 CalculateGoalPosition ();
abstract member CalculateGoalPosition : unit -> UnityEngine.Vector3
override this.CalculateGoalPosition : unit -> UnityEngine.Vector3
Protected Overridable Function CalculateGoalPosition () As Vector3

Returns

UnityEngine.Vector3

The new goal position.

Applies to