Initial IK mode

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Leo Qu
2026-02-20 14:29:59 -05:00
parent 01c3f425b0
commit 54b1a5775d
10 changed files with 2195 additions and 11 deletions

View File

@@ -1338,8 +1338,6 @@ RectTransform:
- {fileID: 520530388}
- {fileID: 589715995}
- {fileID: 882055579}
- {fileID: 1622654344}
- {fileID: 1557863855}
- {fileID: 395535431}
- {fileID: 910000010}
- {fileID: 1506978711}
@@ -3336,7 +3334,7 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_Father: {fileID: 910000004}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@@ -3608,7 +3606,9 @@ Transform:
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Children:
- {fileID: 920000002}
- {fileID: 867709480}
m_Father: {fileID: 910000002}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &910000005
@@ -3639,9 +3639,180 @@ Transform:
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Children:
- {fileID: 910000017}
- {fileID: 910000020}
- {fileID: 910000023}
m_Father: {fileID: 910000002}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &910000016
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 910000017}
- component: {fileID: 910000018}
m_Layer: 0
m_Name: IKController
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &910000017
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 910000016}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 910000006}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &910000018
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 910000016}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: aed8b5469e22847cbab133f3f20750b2, type: 3}
m_Name:
m_EditorClassIdentifier:
maxIterations: 10
tolerance: 0.1
constrainAngles: 1
dragSensitivity: 0.7
movementSpeed: 0.3
useSmoothing: 1
drawDebugLines: 1
debugLineColor: {r: 1, g: 1, b: 0, a: 1}
--- !u!1 &910000019
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 910000020}
- component: {fileID: 910000021}
m_Layer: 0
m_Name: PositionController
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &910000020
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 910000019}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 910000006}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &910000021
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 910000019}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d35bf7a5ed4da4d708a643ace1b67073, type: 3}
m_Name:
m_EditorClassIdentifier:
mainCamera: {fileID: 0}
ikController: {fileID: 910000018}
moduleLayer:
serializedVersion: 2
m_Bits: 4294967295
positionStepSize: 0.1
positionChangeThreshold: 0.01
selectedColor: {r: 0, g: 0.8, b: 1, a: 1}
xPlusButton: {fileID: 0}
xMinusButton: {fileID: 0}
yPlusButton: {fileID: 0}
yMinusButton: {fileID: 0}
zPlusButton: {fileID: 0}
zMinusButton: {fileID: 0}
gizmo: {fileID: 910000024}
--- !u!1 &910000022
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 910000023}
- component: {fileID: 910000024}
m_Layer: 0
m_Name: PositionControlGizmo
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &910000023
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 910000022}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 910000006}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &910000024
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 910000022}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 7b174028420e641e388cafa6d51ffcf5, type: 3}
m_Name:
m_EditorClassIdentifier:
arrowLength: 1
arrowHeadSize: 0.25
lineWidth: 0.04
clickableRadius: 0.5
screenSpaceClickThreshold: 30
axisDragSensitivity: 0.01
xAxisColor: {r: 1, g: 0, b: 0, a: 1}
yAxisColor: {r: 0, g: 1, b: 0, a: 1}
zAxisColor: {r: 0, g: 0, b: 1, a: 1}
hoverColor: {r: 1, g: 1, b: 0, a: 1}
selectedColor: {r: 1, g: 1, b: 0, a: 0.8}
mainCamera: {fileID: 0}
positionController: {fileID: 910000021}
--- !u!1 &910000007
GameObject:
m_ObjectHideFlags: 0
@@ -6330,7 +6501,7 @@ RectTransform:
- {fileID: 1673794417}
- {fileID: 1829395383}
- {fileID: 1382778229}
m_Father: {fileID: 431914656}
m_Father: {fileID: 920000002}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
@@ -6770,7 +6941,7 @@ RectTransform:
- {fileID: 1448228082}
- {fileID: 1266399281}
- {fileID: 551864339}
m_Father: {fileID: 431914656}
m_Father: {fileID: 920000002}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@@ -8305,6 +8476,109 @@ BoxCollider:
serializedVersion: 3
m_Size: {x: 0.002819935, y: 0.0036000002, z: 0.0050528883}
m_Center: {x: 0.000009967983, y: 7.777669e-12, z: 0.0024735613}
--- !u!1 &920000001
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 920000002}
- component: {fileID: 920000003}
- component: {fileID: 920000004}
- component: {fileID: 920000005}
m_Layer: 5
m_Name: LiveViewCanvas
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &920000002
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 920000001}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1557863855}
- {fileID: 1622654344}
m_Father: {fileID: 910000004}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!223 &920000003
Canvas:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 920000001}
m_Enabled: 1
serializedVersion: 3
m_RenderMode: 0
m_Camera: {fileID: 0}
m_PlaneDistance: 100
m_PixelPerfect: 0
m_ReceivesEvents: 1
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_VertexColorAlwaysGammaSpace: 0
m_AdditionalShaderChannelsFlag: 25
m_UpdateRectTransformForStandalone: 0
m_SortingLayerID: 0
m_SortingOrder: 1
m_TargetDisplay: 0
--- !u!114 &920000004
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 920000001}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
m_Name:
m_EditorClassIdentifier:
m_UiScaleMode: 0
m_ReferencePixelsPerUnit: 100
m_ScaleFactor: 1
m_ReferenceResolution: {x: 800, y: 600}
m_ScreenMatchMode: 0
m_MatchWidthOrHeight: 0
m_PhysicalUnit: 3
m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1
m_PresetInfoIsWorld: 0
--- !u!114 &920000005
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 920000001}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IgnoreReversedGraphics: 1
m_BlockingObjects: 0
m_BlockingMask:
serializedVersion: 2
m_Bits: 4294967295
--- !u!1660057539 &9223372036854775807
SceneRoots:
m_ObjectHideFlags: 0
@@ -8323,7 +8597,6 @@ SceneRoots:
- {fileID: 50616112}
- {fileID: 2105855092}
- {fileID: 1588135740}
- {fileID: 867709480}
- {fileID: 1720588295}
- {fileID: 2021810912}
- {fileID: 943453644}