Add ultimate xr

This commit is contained in:
2024-08-06 21:58:35 +02:00
parent 864033bf10
commit 7165bacd9d
3952 changed files with 2162037 additions and 35 deletions

View File

@@ -0,0 +1,29 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="UxrWalkDirection.cs" company="VRMADA">
// Copyright (c) VRMADA, All rights reserved.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------
namespace UltimateXR.Locomotion
{
/// <summary>
/// Enumerates the different options available to decide which direction the avatar will move when using locomotion
/// components such as <see cref="UxrSmoothLocomotion" />.
/// </summary>
public enum UxrWalkDirection
{
/// <summary>
/// User will move in the direction pointed by the controller.
/// </summary>
ControllerForward,
/// <summary>
/// User will move in the direction currently pointed by the avatar's root transform forward vector.
/// </summary>
AvatarForward,
/// <summary>
/// User will move in the direction currently being looking at.
/// </summary>
LookDirection
}
}