This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Threading.Tasks; | |
using Unity.Burst; | |
using Unity.Collections; | |
using Unity.Jobs; | |
using Unity.Mathematics; | |
using UnityEngine; | |
using Debug = UnityEngine.Debug; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"dependencies": { | |
"com.gustorvo.tools": "https://github.com/Gustorvo/Editor-Tools.git", | |
"com.dbrizov.naughtyattributes": "https://github.com/dbrizov/NaughtyAttributes.git#upm", | |
"com.meta.xr.sdk.all": "68.0.1", | |
"com.unity.ide.rider": "3.0.31", | |
"com.unity.render-pipelines.universal": "14.0.10", | |
"com.unity.textmeshpro": "3.0.9", | |
"com.unity.ugui": "1.0.0", | |
"com.unity.xr.interaction.toolkit": "2.5.4", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
public static class QuaternionExtensions | |
{ | |
/// <summary> | |
/// Converts rotation into its euler angles representaion (in degrees) in range [-180, 180]. | |
/// </summary> | |
/// <param name="q"></param> | |
/// <returns></returns> | |
public static Vector3 ToEulerAnglesInRange180(this Quaternion q) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using UnityEngine; | |
/// <summary> | |
/// Extension methods for working with ArticulationBody component for Unity | |
/// </summary> | |
public static class ArtBodyExtensions | |
{ | |
/// <summary> | |
/// Sets an articulation body drive target rotation to match a given targetLocalRotation. |