Class XRBodyGroundPosition
Transformation that moves the target's originTransform such that the world position of where the user's body is grounded matches the specified position. 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 XRBodyGroundPosition : IXRBodyTransformation
Properties
| Name | Description |
|---|---|
| targetPosition | World position that the user's body ground position should be at. |
Methods
| Name | Description |
|---|---|
| Apply(XRMovableBody) | Performs the transformation on the given body. |