浏览代码

added knee pivot to leg rig

/main
Dave Hunt 6 年前
当前提交
50acac7d
共有 2 个文件被更改,包括 168 次插入26 次删除
  1. 115
      Assets/Scenes/SampleSceneNinja.unity
  2. 79
      Assets/TestNinja/Content/Characters/Ninja/Rigs/Leg.prefab

115
Assets/Scenes/SampleSceneNinja.unity


m_Father: {fileID: 0}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0}
--- !u!1 &670242390 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 5515360034635770556, guid: 8799b0e9b65ae384cb6078d2b25dfc11,
type: 3}
m_PrefabInstance: {fileID: 3151587887460958956}
m_PrefabAsset: {fileID: 0}
--- !u!4 &670242391 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 2417433452906332430, guid: 8799b0e9b65ae384cb6078d2b25dfc11,
type: 3}
m_PrefabInstance: {fileID: 3151587887460958956}
m_PrefabAsset: {fileID: 0}
--- !u!114 &670242392
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 670242390}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8935e03361a14ec4b8edc872f76bc822, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Weight: 1
m_Data:
m_ConstrainedObject: {fileID: 670242391}
m_SourceObjects:
m_Length: 1
m_Item0:
transform: {fileID: 824842126}
weight: 1
m_Item1:
transform: {fileID: 0}
weight: 0
m_Item2:
transform: {fileID: 0}
weight: 0
m_Item3:
transform: {fileID: 0}
weight: 0
m_Item4:
transform: {fileID: 0}
weight: 0
m_Item5:
transform: {fileID: 0}
weight: 0
m_Item6:
transform: {fileID: 0}
weight: 0
m_Item7:
transform: {fileID: 0}
weight: 0
m_PositionOffset: {x: 0, y: 0, z: 0}
m_RotationOffset: {x: 0, y: 0, z: 0, w: 1}
m_ConstrainedPositionAxes:
x: 1
y: 1
z: 1
m_ConstrainedRotationAxes:
x: 1
y: 1
z: 1
m_MaintainPositionOffset: 0
m_MaintainRotationOffset: 0
m_SoloMode: 0
m_SourceObjectsGUIToggle: 1
m_SettingsGUIToggle: 1
--- !u!4 &685097023 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 3151587886033599620, guid: 8799b0e9b65ae384cb6078d2b25dfc11,

size: 0.1
position: {x: -0.1, y: 0, z: 0}
rotation: {x: 0, y: 0, z: 0}
m_Visible: 1
- m_Transform: {fileID: 670242391}
m_Style:
shape: {fileID: 4300000, guid: b43e6ef97ee1b4e31be1a0187b9f4495, type: 2}
color: {r: 1, g: 0, b: 0, a: 0.5}
size: 0.15
position: {x: 0, y: 0, z: 0}
rotation: {x: 90, y: 0, z: 0}
m_Visible: 1
--- !u!4 &772315690
Transform:

- target: {fileID: 3151587885940928656, guid: 8799b0e9b65ae384cb6078d2b25dfc11,
type: 3}
propertyPath: m_Data.m_SourceObjects.Array.size
value: 4
value: 5
objectReference: {fileID: 0}
objectReference: {fileID: 670242391}
- target: {fileID: 3151587886033599627, guid: 8799b0e9b65ae384cb6078d2b25dfc11,
type: 3}
propertyPath: m_Name

type: 3}
propertyPath: m_Name
value: RightHeelPivot
objectReference: {fileID: 0}
- target: {fileID: 2417433452906332430, guid: 8799b0e9b65ae384cb6078d2b25dfc11,
type: 3}
propertyPath: m_LocalRotation.x
value: 0.49705517
objectReference: {fileID: 0}
- target: {fileID: 2417433452906332430, guid: 8799b0e9b65ae384cb6078d2b25dfc11,
type: 3}
propertyPath: m_LocalRotation.y
value: -0.3542553
objectReference: {fileID: 0}
- target: {fileID: 2417433452906332430, guid: 8799b0e9b65ae384cb6078d2b25dfc11,
type: 3}
propertyPath: m_LocalRotation.z
value: -0.5783644
objectReference: {fileID: 0}
- target: {fileID: 2417433452906332430, guid: 8799b0e9b65ae384cb6078d2b25dfc11,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.5412338
objectReference: {fileID: 0}
- target: {fileID: 2417433452906332430, guid: 8799b0e9b65ae384cb6078d2b25dfc11,
type: 3}
propertyPath: m_LocalPosition.x
value: 0.16017604
objectReference: {fileID: 0}
- target: {fileID: 2417433452906332430, guid: 8799b0e9b65ae384cb6078d2b25dfc11,
type: 3}
propertyPath: m_LocalPosition.y
value: 0.5196706
objectReference: {fileID: 0}
- target: {fileID: 2417433452906332430, guid: 8799b0e9b65ae384cb6078d2b25dfc11,
type: 3}
propertyPath: m_LocalPosition.z
value: 0.058368243
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 8799b0e9b65ae384cb6078d2b25dfc11, type: 3}

79
Assets/TestNinja/Content/Characters/Ninja/Rigs/Leg.prefab


serializedVersion: 6
m_Component:
- component: {fileID: 3151587885940928663}
- component: {fileID: 3151587885940928657}
- component: {fileID: 3151587885940928657}
m_Name: LegRigPart
m_Name: Leg
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0

m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &3151587885940928656
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3151587885940928662}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b1577d1bce6e9ec47b4c95dd2d94493a, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Weight: 1
m_Data:
m_Driver: 0
m_SourceObjects:
- {fileID: 3151587886033599620}
- {fileID: 3151587886767171975}
- {fileID: 3151587887681680132}
- {fileID: 3151587886006327508}
- {fileID: 2417433452906332430}
m_SourceObjectsGUIToggle: 1
--- !u!114 &3151587885940928657
MonoBehaviour:
m_ObjectHideFlags: 0

m_MaintainTargetRotationOffset: 0
m_SourceObjectsGUIToggle: 0
m_SettingsGUIToggle: 0
--- !u!114 &3151587885940928656
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3151587885940928662}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b1577d1bce6e9ec47b4c95dd2d94493a, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Weight: 1
m_Data:
m_Driver: 0
m_SourceObjects:
- {fileID: 3151587886033599620}
- {fileID: 3151587886767171975}
- {fileID: 3151587887681680132}
- {fileID: 3151587886006327508}
- {fileID: 0}
m_SourceObjectsGUIToggle: 1
--- !u!1 &3151587886006327515
GameObject:
m_ObjectHideFlags: 0

- {fileID: 3151587886767171975}
- {fileID: 3151587887681680132}
- {fileID: 3151587886006327508}
- {fileID: 2417433452906332430}
--- !u!1 &5515360034635770556
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2417433452906332430}
m_Layer: 0
m_Name: KneePivot
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &2417433452906332430
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5515360034635770556}
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_Children: []
m_Father: {fileID: 152315046562499226}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
正在加载...
取消
保存