minor bug fix
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
using static Gallop.RaceDefine;
|
||||||
|
|
||||||
public class UnityCameraVMDRecorder : MonoBehaviour
|
public class UnityCameraVMDRecorder : MonoBehaviour
|
||||||
{
|
{
|
||||||
@@ -564,6 +565,8 @@ public class LiveCameraFrame
|
|||||||
|
|
||||||
Vector3 vmdRotation = new Vector3(fixedQuatenion.eulerAngles.x, 180 - fixedQuatenion.eulerAngles.y, fixedQuatenion.eulerAngles.z);
|
Vector3 vmdRotation = new Vector3(fixedQuatenion.eulerAngles.x, 180 - fixedQuatenion.eulerAngles.y, fixedQuatenion.eulerAngles.z);
|
||||||
|
|
||||||
|
Rotation = Quaternion.Euler(vmdRotation);
|
||||||
|
|
||||||
var finalRotation = vmdRotation;
|
var finalRotation = vmdRotation;
|
||||||
if (lastframe == null)
|
if (lastframe == null)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user