minor bug fix
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using UnityEngine;
|
||||
using static Gallop.RaceDefine;
|
||||
|
||||
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);
|
||||
|
||||
Rotation = Quaternion.Euler(vmdRotation);
|
||||
|
||||
var finalRotation = vmdRotation;
|
||||
if (lastframe == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user