Skip to content

Commit

Permalink
fix trails, prevent linear drive ball going off the track
Browse files Browse the repository at this point in the history
  • Loading branch information
neon-ninja committed May 15, 2020
1 parent 55297de commit 362f40c
Show file tree
Hide file tree
Showing 6 changed files with 234 additions and 32 deletions.
86 changes: 76 additions & 10 deletions Assets/Dimer1.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ MeshRenderer:
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RenderingLayerMask: 4294967295
m_RendererPriority: 0
m_Materials:
Expand Down Expand Up @@ -152,6 +153,7 @@ MeshRenderer:
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RenderingLayerMask: 4294967295
m_RendererPriority: 0
m_Materials:
Expand Down Expand Up @@ -278,13 +280,9 @@ MonoBehaviour:
onPickUp:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine.CoreModule, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
onDetachFromHand:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine.CoreModule, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
snapAttachEaseInCompleted: 0
--- !u!136 &136875954272746600
CapsuleCollider:
Expand Down Expand Up @@ -472,6 +470,7 @@ MeshRenderer:
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RenderingLayerMask: 4294967295
m_RendererPriority: 0
m_Materials:
Expand Down Expand Up @@ -583,6 +582,7 @@ MeshRenderer:
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RenderingLayerMask: 4294967295
m_RendererPriority: 0
m_Materials:
Expand Down Expand Up @@ -661,6 +661,7 @@ MeshRenderer:
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RenderingLayerMask: 4294967295
m_RendererPriority: 0
m_Materials:
Expand Down Expand Up @@ -739,6 +740,7 @@ MeshRenderer:
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RenderingLayerMask: 4294967295
m_RendererPriority: 0
m_Materials:
Expand Down Expand Up @@ -802,8 +804,9 @@ Light:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1308175507451450}
m_Enabled: 1
serializedVersion: 9
serializedVersion: 10
m_Type: 2
m_Shape: 0
m_Color: {r: 0.134, g: 0, b: 1, a: 1}
m_Intensity: 1
m_Range: 1
Expand Down Expand Up @@ -909,6 +912,7 @@ MeshRenderer:
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RenderingLayerMask: 4294967295
m_RendererPriority: 0
m_Materials:
Expand Down Expand Up @@ -991,8 +995,9 @@ Light:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1438619484050454}
m_Enabled: 1
serializedVersion: 9
serializedVersion: 10
m_Type: 2
m_Shape: 0
m_Color: {r: 1, g: 0.7083694, b: 0.31617647, a: 1}
m_Intensity: 2
m_Range: 0.05
Expand Down Expand Up @@ -1098,6 +1103,7 @@ MeshRenderer:
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RenderingLayerMask: 4294967295
m_RendererPriority: 0
m_Materials:
Expand Down Expand Up @@ -1196,6 +1202,7 @@ MeshRenderer:
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RenderingLayerMask: 4294967295
m_RendererPriority: 0
m_Materials:
Expand Down Expand Up @@ -1293,6 +1300,7 @@ MeshRenderer:
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RenderingLayerMask: 4294967295
m_RendererPriority: 0
m_Materials:
Expand Down Expand Up @@ -1343,7 +1351,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1625481556038498}
m_LocalRotation: {x: -0, y: -0, z: -0.000000014901161, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalPosition: {x: 0, y: -0, z: 0}
m_LocalScale: {x: 0.25000036, y: 0.25000003, z: 0.25000012}
m_Children:
- {fileID: 4289056372798722}
Expand Down Expand Up @@ -3616,8 +3624,61 @@ ParticleSystem:
inWorldSpace: 0
randomizePerFrame: 0
ExternalForcesModule:
serializedVersion: 2
enabled: 0
multiplier: 1
multiplierCurve:
serializedVersion: 2
minMaxState: 0
scalar: 1
minScalar: 1
maxCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
minCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
influenceFilter: 0
influenceMask:
serializedVersion: 2
Expand Down Expand Up @@ -5151,7 +5212,7 @@ ParticleSystem:
m_RotationOrder: 4
maxLights: 5
TrailModule:
enabled: 1
enabled: 0
mode: 0
ratio: 1
lifetime:
Expand Down Expand Up @@ -5967,7 +6028,7 @@ ParticleSystem:
--- !u!199 &199978150578797382
ParticleSystemRenderer:
serializedVersion: 6
m_ObjectHideFlags: 2
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
Expand All @@ -5979,6 +6040,7 @@ ParticleSystemRenderer:
m_MotionVectors: 1
m_LightProbeUsage: 0
m_ReflectionProbeUsage: 0
m_RayTracingMode: 0
m_RenderingLayerMask: 4294967295
m_RendererPriority: 0
m_Materials:
Expand Down Expand Up @@ -6081,6 +6143,7 @@ MeshRenderer:
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RenderingLayerMask: 4294967295
m_RendererPriority: 0
m_Materials:
Expand Down Expand Up @@ -6193,6 +6256,7 @@ MeshRenderer:
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RenderingLayerMask: 4294967295
m_RendererPriority: 0
m_Materials:
Expand Down Expand Up @@ -6271,6 +6335,7 @@ MeshRenderer:
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RenderingLayerMask: 4294967295
m_RendererPriority: 0
m_Materials:
Expand Down Expand Up @@ -6363,6 +6428,7 @@ MeshRenderer:
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RenderingLayerMask: 4294967295
m_RendererPriority: 0
m_Materials:
Expand Down
Loading

0 comments on commit 362f40c

Please sign in to comment.