From 9045525044dd1ab38a559598bea54858f4050c49 Mon Sep 17 00:00:00 2001 From: Weicao-CatilGrass <1992414357@qq.com> Date: Fri, 22 May 2026 12:14:00 +0800 Subject: 增加使用RootMotion驱动的角色移动 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scenes/SampleScene.unity | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Assets/Scenes') diff --git a/Assets/Scenes/SampleScene.unity b/Assets/Scenes/SampleScene.unity index f708fd0..b15a6eb 100644 --- a/Assets/Scenes/SampleScene.unity +++ b/Assets/Scenes/SampleScene.unity @@ -1143,6 +1143,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 4ca3b9320dac3304ba425bd0d3952131, type: 3} m_Name: m_EditorClassIdentifier: + rootMotionBlending: 0 + rootMotion: {x: 0, y: 0, z: 0} myTransform: {fileID: 0} animatorHandler: {fileID: 0} rigidbody: {fileID: 0} @@ -2484,6 +2486,11 @@ PrefabInstance: propertyPath: m_Controller value: objectReference: {fileID: 9100000, guid: 8ceb66b9d11550e4cb0f7af887ee0d29, type: 2} + - target: {fileID: 95506792919036566, guid: bbf9d2d73db526c4aa3f66acf676c574, + type: 3} + propertyPath: m_ApplyRootMotion + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -2511,6 +2518,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: fe522b80fe58504408be0232c59db82f, type: 3} m_Name: m_EditorClassIdentifier: + playerLocomotion: {fileID: 668448702} animator: {fileID: 2098161784} canRotate: 1 --- !u!95 &2098161784 stripped -- cgit