Skip to content

Commit 5f4a80d

Browse files
committed
bumper: Fix tiling and add additional props.
1 parent 6d61219 commit 5f4a80d

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

Assets/Art/Materials/Visual Pinball/Bumper (Ring).mat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Material:
4343
m_Offset: {x: 0, y: 0}
4444
- _BaseColorMap:
4545
m_Texture: {fileID: 2800000, guid: f456e09c10545b54a8b565a817c848e3, type: 3}
46-
m_Scale: {x: 2, y: 2}
46+
m_Scale: {x: 1, y: 1}
4747
m_Offset: {x: 0, y: 0}
4848
- _BentNormalMap:
4949
m_Texture: {fileID: 0}
@@ -197,7 +197,7 @@ Material:
197197
- _HeightPoMAmplitude: 2
198198
- _HeightTessAmplitude: 2
199199
- _HeightTessCenter: 0.5
200-
- _InvTilingScale: 0.5
200+
- _InvTilingScale: 1
201201
- _Ior: 1.5
202202
- _IridescenceMask: 1
203203
- _IridescenceThickness: 1

Assets/Resources/Prefabs/Bumper.prefab

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@ MonoBehaviour:
8181
IsReflectionEnabled: 0
8282
IsTimerEnabled: 0
8383
TimerInterval: 0
84+
Position: {x: 0, y: 0}
85+
Radius: 45
86+
HeightScale: 90
87+
Orientation: 0
88+
Surface: {fileID: 0}
8489
--- !u!114 &1813312543483188556
8590
MonoBehaviour:
8691
m_ObjectHideFlags: 0
@@ -96,6 +101,10 @@ MonoBehaviour:
96101
PhysicsMaterial: {fileID: 0}
97102
ShowColliderMesh: 0
98103
ShowAabbs: 0
104+
Threshold: 1
105+
Force: 15
106+
Scatter: 0
107+
HitEvent: 1
99108
--- !u!114 &558255656085877858
100109
MonoBehaviour:
101110
m_ObjectHideFlags: 0
@@ -235,6 +244,8 @@ MonoBehaviour:
235244
m_Script: {fileID: 11500000, guid: aff42798b4f4d7149b76ac24b29d83db, type: 3}
236245
m_Name:
237246
m_EditorClassIdentifier:
247+
RingSpeed: 0.5
248+
RingDropOffset: 0
238249
--- !u!33 &2838277533150802644
239250
MeshFilter:
240251
m_ObjectHideFlags: 0

0 commit comments

Comments
 (0)