HandConstraint.CalculateGoalPosition 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.
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.