导入角色动画,和增加角色控制

This commit is contained in:
2025-12-11 19:30:20 +08:00
parent a60a92e7ba
commit 7775fa30bb
1452 changed files with 592217 additions and 42573 deletions

View File

@@ -0,0 +1,15 @@
using UnityEngine;
namespace KINEMATION.KAnimationCore.Runtime.Rig
{
public class KVirtualElement : MonoBehaviour
{
public Transform targetBone;
public void Animate()
{
transform.position = targetBone.position;
transform.rotation = targetBone.rotation;
}
}
}