Interface IXRAimAssist
An interface that allows for computing an altered projectile velocity to allow for assisted aiming. This can be used to allow a user to throw a grab interactable to where they are looking.
Namespace: UnityEngine.XR.Interaction.Toolkit
Assembly: solution.dll
Syntax
public interface IXRAimAssist
Methods
| Name | Description |
|---|---|
| GetAssistedVelocity(in Vector3, in Vector3, float) | Takes a projectile's velocity and adjusts it to more closely hit a given target. |
| GetAssistedVelocity(in Vector3, in Vector3, float, float) | Takes a projectile's velocity and adjusts it to more closely hit a given target. |