Improved fan physics

This commit is contained in:
Pasha Bibko
2026-04-21 10:03:10 +01:00
parent 82a5a9bc1e
commit 76477ab193
16 changed files with 75 additions and 23 deletions

View File

@@ -1,5 +1,40 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1449457675495342611
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2275971447518669826}
m_Layer: 10
m_Name: FanOrigin
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &2275971447518669826
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1449457675495342611}
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: 546461529234046531}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -25, y: 0}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &8624048914473773482
GameObject:
m_ObjectHideFlags: 0
@@ -15,7 +50,7 @@ GameObject:
- component: {fileID: 2938597077917375806}
- component: {fileID: -6667291122109179156}
- component: {fileID: 2693608777607402836}
m_Layer: 0
m_Layer: 10
m_Name: FanBuilding
m_TagString: Untagged
m_Icon: {fileID: 0}
@@ -35,6 +70,7 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 7887192787865691223}
- {fileID: 2275971447518669826}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
@@ -58,6 +94,7 @@ MonoBehaviour:
<SizeOnGrid>k__BackingField: {x: 1, y: 3}
TriggerDetector: {fileID: 260900526863299443}
FanAnimator: {fileID: 1099873069624310322}
FanOrigin: {fileID: 2275971447518669826}
--- !u!222 &512124502862012575
CanvasRenderer:
m_ObjectHideFlags: 0
@@ -231,7 +268,7 @@ GameObject:
- component: {fileID: 7887192787865691223}
- component: {fileID: 8650414366585600465}
- component: {fileID: 260900526863299443}
m_Layer: 0
m_Layer: 12
m_Name: FanAOE
m_TagString: Untagged
m_Icon: {fileID: 0}