Class XRBodyYawRotation
Transformation that rotates the target's originTransform by the specified amount about the axis aligned with the Origin's up vector and passing through the world position of where the user's body is grounded. The body ground position is determined by the target's bodyPositionEvaluator.
Implements
Inherited Members
Namespace: UnityEngine.XR.Interaction.Toolkit.Locomotion
Assembly: solution.dll
Syntax
public class XRBodyYawRotation : IXRBodyTransformation
Properties
| Name | Description |
|---|---|
| angleDelta | Amount in degrees to rotate the originTransform. |
Methods
| Name | Description |
|---|---|
| Apply(XRMovableBody) | Performs the transformation on the given body. |