上传YomovSDK

This commit is contained in:
Sora丶kong
2026-03-03 03:15:46 +08:00
parent 9096da7e6c
commit eb97f31065
6477 changed files with 1932208 additions and 3 deletions

View File

@@ -0,0 +1,27 @@
using UnityEngine;
using System.Collections;
using RootMotion.FinalIK;
namespace RootMotion.Demos {
/// <summary>
/// Bend goal for LimbIK. Attach this to a GameObject that you want the limb to bend towards.
/// </summary>
public class BendGoal : MonoBehaviour {
public LimbIK limbIK; // reference to the LimbIK component
[Range(0f, 1f)]
public float weight = 1f;
void Start() {
Debug.Log("BendGoal is deprecated, you can now a bend goal from the custom inspector of the LimbIK component.");
}
void LateUpdate () {
if (limbIK == null) return;
// Set LimbIK bend goal position to myself
limbIK.solver.SetBendGoalPosition(transform.position, weight);
}
}
}

View File

@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: f0700f2a769ec49a598a1503c9f4ae13
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: