浏览代码
Updates to the Boat prefab to allow for impulses, state driven camera changes, and audio
/2019.3-marc
Updates to the Boat prefab to allow for impulses, state driven camera changes, and audio
/2019.3-marc
Marc Tanenbaum
5 年前
当前提交
f4dbb831
共有 5 个文件被更改,包括 723 次插入 和 10 次删除
-
530Assets/Objects/boats/_BoatBase.prefab
-
159Assets/Objects/boats/Boat Animator Controller.controller
-
8Assets/Objects/boats/Boat Animator Controller.controller.meta
-
28Assets/Objects/boats/_BoatBase Raw Impulse Signal.asset
-
8Assets/Objects/boats/_BoatBase Raw Impulse Signal.asset.meta
|
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!1102 &-8220007644375564037 |
|||
AnimatorState: |
|||
serializedVersion: 5 |
|||
m_ObjectHideFlags: 1 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_Name: Fast |
|||
m_Speed: 1 |
|||
m_CycleOffset: 0 |
|||
m_Transitions: |
|||
- {fileID: -1499792709834792677} |
|||
m_StateMachineBehaviours: [] |
|||
m_Position: {x: 50, y: 50, z: 0} |
|||
m_IKOnFeet: 0 |
|||
m_WriteDefaultValues: 1 |
|||
m_Mirror: 0 |
|||
m_SpeedParameterActive: 0 |
|||
m_MirrorParameterActive: 0 |
|||
m_CycleOffsetParameterActive: 0 |
|||
m_TimeParameterActive: 0 |
|||
m_Motion: {fileID: 0} |
|||
m_Tag: |
|||
m_SpeedParameter: |
|||
m_MirrorParameter: |
|||
m_CycleOffsetParameter: |
|||
m_TimeParameter: |
|||
--- !u!1101 &-4794954013087966830 |
|||
AnimatorStateTransition: |
|||
m_ObjectHideFlags: 1 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_Name: |
|||
m_Conditions: |
|||
- m_ConditionMode: 3 |
|||
m_ConditionEvent: EngineSpeed |
|||
m_EventTreshold: 90 |
|||
m_DstStateMachine: {fileID: 0} |
|||
m_DstState: {fileID: -8220007644375564037} |
|||
m_Solo: 0 |
|||
m_Mute: 0 |
|||
m_IsExit: 0 |
|||
serializedVersion: 3 |
|||
m_TransitionDuration: 0.5 |
|||
m_TransitionOffset: 0 |
|||
m_ExitTime: 0.75 |
|||
m_HasExitTime: 0 |
|||
m_HasFixedDuration: 1 |
|||
m_InterruptionSource: 0 |
|||
m_OrderedInterruption: 1 |
|||
m_CanTransitionToSelf: 1 |
|||
--- !u!1102 &-3791892629383282217 |
|||
AnimatorState: |
|||
serializedVersion: 5 |
|||
m_ObjectHideFlags: 1 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_Name: Slow |
|||
m_Speed: 1 |
|||
m_CycleOffset: 0 |
|||
m_Transitions: |
|||
- {fileID: -4794954013087966830} |
|||
m_StateMachineBehaviours: [] |
|||
m_Position: {x: 50, y: 50, z: 0} |
|||
m_IKOnFeet: 0 |
|||
m_WriteDefaultValues: 1 |
|||
m_Mirror: 0 |
|||
m_SpeedParameterActive: 0 |
|||
m_MirrorParameterActive: 0 |
|||
m_CycleOffsetParameterActive: 0 |
|||
m_TimeParameterActive: 0 |
|||
m_Motion: {fileID: 0} |
|||
m_Tag: |
|||
m_SpeedParameter: |
|||
m_MirrorParameter: |
|||
m_CycleOffsetParameter: |
|||
m_TimeParameter: |
|||
--- !u!1101 &-1499792709834792677 |
|||
AnimatorStateTransition: |
|||
m_ObjectHideFlags: 1 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_Name: |
|||
m_Conditions: |
|||
- m_ConditionMode: 4 |
|||
m_ConditionEvent: EngineSpeed |
|||
m_EventTreshold: 120 |
|||
m_DstStateMachine: {fileID: 0} |
|||
m_DstState: {fileID: -3791892629383282217} |
|||
m_Solo: 0 |
|||
m_Mute: 0 |
|||
m_IsExit: 0 |
|||
serializedVersion: 3 |
|||
m_TransitionDuration: 0.5 |
|||
m_TransitionOffset: 0 |
|||
m_ExitTime: 0.75 |
|||
m_HasExitTime: 0 |
|||
m_HasFixedDuration: 1 |
|||
m_InterruptionSource: 0 |
|||
m_OrderedInterruption: 1 |
|||
m_CanTransitionToSelf: 1 |
|||
--- !u!91 &9100000 |
|||
AnimatorController: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_Name: Boat Animator Controller |
|||
serializedVersion: 5 |
|||
m_AnimatorParameters: |
|||
- m_Name: EngineSpeed |
|||
m_Type: 1 |
|||
m_DefaultFloat: 0 |
|||
m_DefaultInt: 0 |
|||
m_DefaultBool: 0 |
|||
m_Controller: {fileID: 9100000} |
|||
m_AnimatorLayers: |
|||
- serializedVersion: 5 |
|||
m_Name: Main |
|||
m_StateMachine: {fileID: 3528744384826833231} |
|||
m_Mask: {fileID: 0} |
|||
m_Motions: [] |
|||
m_Behaviours: [] |
|||
m_BlendingMode: 0 |
|||
m_SyncedLayerIndex: -1 |
|||
m_DefaultWeight: 0 |
|||
m_IKPass: 0 |
|||
m_SyncedLayerAffectsTiming: 0 |
|||
m_Controller: {fileID: 9100000} |
|||
--- !u!1107 &3528744384826833231 |
|||
AnimatorStateMachine: |
|||
serializedVersion: 5 |
|||
m_ObjectHideFlags: 1 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_Name: Main |
|||
m_ChildStates: |
|||
- serializedVersion: 1 |
|||
m_State: {fileID: -3791892629383282217} |
|||
m_Position: {x: 180, y: 210, z: 0} |
|||
- serializedVersion: 1 |
|||
m_State: {fileID: -8220007644375564037} |
|||
m_Position: {x: 350, y: 90, z: 0} |
|||
m_ChildStateMachines: [] |
|||
m_AnyStateTransitions: [] |
|||
m_EntryTransitions: [] |
|||
m_StateMachineTransitions: {} |
|||
m_StateMachineBehaviours: [] |
|||
m_AnyStatePosition: {x: 50, y: 20, z: 0} |
|||
m_EntryPosition: {x: 50, y: 120, z: 0} |
|||
m_ExitPosition: {x: 600, y: 70, z: 0} |
|||
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} |
|||
m_DefaultState: {fileID: -3791892629383282217} |
|
|||
fileFormatVersion: 2 |
|||
guid: c8a16cf79e3034d53ba32fdc92c38cf8 |
|||
NativeFormatImporter: |
|||
externalObjects: {} |
|||
mainObjectFileID: 0 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!114 &11400000 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: b7f59e54f2bfd184b9dd451a678d089b, type: 3} |
|||
m_Name: _BoatBase Raw Impulse Signal |
|||
m_EditorClassIdentifier: |
|||
PositionNoise: |
|||
- X: |
|||
Frequency: 20.99 |
|||
Amplitude: 1 |
|||
Constant: 0 |
|||
Y: |
|||
Frequency: 18.7 |
|||
Amplitude: 1 |
|||
Constant: 0 |
|||
Z: |
|||
Frequency: 103.8 |
|||
Amplitude: 1 |
|||
Constant: 0 |
|||
OrientationNoise: [] |
|
|||
fileFormatVersion: 2 |
|||
guid: 2a2010873a38c4a54bbf2d5cab174f66 |
|||
NativeFormatImporter: |
|||
externalObjects: {} |
|||
mainObjectFileID: 0 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
撰写
预览
正在加载...
取消
保存
Reference in new issue