Skip to content

Commit

Permalink
Tweaking collisions with new models (fixes #15).
Browse files Browse the repository at this point in the history
  • Loading branch information
jpike committed Jan 31, 2015
1 parent 6f9bf27 commit ac2b1df
Show file tree
Hide file tree
Showing 13 changed files with 149 additions and 164 deletions.
13 changes: 6 additions & 7 deletions Assets/Prefabs/BananaFieldPlayer.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ GameObject:
- 4: {fileID: 400000}
- 33: {fileID: 3300000}
- 23: {fileID: 2300000}
- 64: {fileID: 6400000}
- 54: {fileID: 5400000}
- 114: {fileID: 11400000}
- 65: {fileID: 6500000}
m_Layer: 0
m_Name: BananaFieldPlayer
m_TagString: Untagged
Expand Down Expand Up @@ -72,10 +72,10 @@ Rigidbody:
m_UseGravity: 0
m_IsKinematic: 1
m_Interpolate: 0
m_Constraints: 88
m_Constraints: 90
m_CollisionDetection: 0
--- !u!64 &6400000
MeshCollider:
--- !u!65 &6500000
BoxCollider:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
Expand All @@ -84,9 +84,8 @@ MeshCollider:
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_SmoothSphereCollisions: 0
m_Convex: 0
m_Mesh: {fileID: 4300000, guid: 2c64ff23c5c96034ea91bb02cf6e2d33, type: 3}
m_Size: {x: .391322017, y: .933472991, z: .210206002}
m_Center: {x: 0, y: 0, z: 0}
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 1
Expand Down
32 changes: 15 additions & 17 deletions Assets/Prefabs/BananaForwardLine.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ GameObject:
- 4: {fileID: 400000}
- 33: {fileID: 3300000}
- 23: {fileID: 2300000}
- 64: {fileID: 6400000}
- 54: {fileID: 5400000}
- 114: {fileID: 11400000}
- 65: {fileID: 6500002}
m_Layer: 0
m_Name: BottomForward
m_TagString: Untagged
Expand All @@ -30,9 +30,9 @@ GameObject:
- 4: {fileID: 400002}
- 33: {fileID: 3300002}
- 23: {fileID: 2300002}
- 64: {fileID: 6400002}
- 54: {fileID: 5400002}
- 114: {fileID: 11400002}
- 65: {fileID: 6500000}
m_Layer: 0
m_Name: TopForward
m_TagString: Untagged
Expand Down Expand Up @@ -88,7 +88,7 @@ Transform:
m_GameObject: {fileID: 100004}
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_LocalScale: {x: 1, y: 1, z: 1.5}
m_Children:
- {fileID: 400002}
- {fileID: 400000}
Expand Down Expand Up @@ -161,7 +161,7 @@ Rigidbody:
m_UseGravity: 0
m_IsKinematic: 1
m_Interpolate: 0
m_Constraints: 88
m_Constraints: 90
m_CollisionDetection: 0
--- !u!54 &5400002
Rigidbody:
Expand All @@ -176,34 +176,32 @@ Rigidbody:
m_UseGravity: 0
m_IsKinematic: 1
m_Interpolate: 0
m_Constraints: 88
m_Constraints: 90
m_CollisionDetection: 0
--- !u!64 &6400000
MeshCollider:
--- !u!65 &6500000
BoxCollider:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 100000}
m_GameObject: {fileID: 100002}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_SmoothSphereCollisions: 0
m_Convex: 0
m_Mesh: {fileID: 4300000, guid: 2c64ff23c5c96034ea91bb02cf6e2d33, type: 3}
--- !u!64 &6400002
MeshCollider:
m_Size: {x: .391322017, y: .933472991, z: .210206002}
m_Center: {x: 0, y: 0, z: 0}
--- !u!65 &6500002
BoxCollider:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 100002}
m_GameObject: {fileID: 100000}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_SmoothSphereCollisions: 0
m_Convex: 0
m_Mesh: {fileID: 4300000, guid: 2c64ff23c5c96034ea91bb02cf6e2d33, type: 3}
m_Size: {x: .391322017, y: .933472991, z: .210206002}
m_Center: {x: 0, y: 0, z: 0}
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 1
Expand Down
15 changes: 7 additions & 8 deletions Assets/Prefabs/BananaGoalieLine.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ GameObject:
- 4: {fileID: 400000}
- 33: {fileID: 3300000}
- 23: {fileID: 2300000}
- 64: {fileID: 6400000}
- 54: {fileID: 5400000}
- 114: {fileID: 11400000}
- 65: {fileID: 6500000}
m_Layer: 0
m_Name: Goalie
m_TagString: Untagged
Expand Down Expand Up @@ -56,7 +56,7 @@ Transform:
m_GameObject: {fileID: 100002}
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_LocalScale: {x: 1, y: 1, z: 1.5}
m_Children:
- {fileID: 400000}
m_Father: {fileID: 0}
Expand Down Expand Up @@ -101,10 +101,10 @@ Rigidbody:
m_UseGravity: 0
m_IsKinematic: 1
m_Interpolate: 0
m_Constraints: 88
m_Constraints: 90
m_CollisionDetection: 0
--- !u!64 &6400000
MeshCollider:
--- !u!65 &6500000
BoxCollider:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
Expand All @@ -113,9 +113,8 @@ MeshCollider:
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_SmoothSphereCollisions: 0
m_Convex: 0
m_Mesh: {fileID: 4300000, guid: 2c64ff23c5c96034ea91bb02cf6e2d33, type: 3}
m_Size: {x: .391322017, y: .933472991, z: .210206002}
m_Center: {x: 0, y: 0, z: 0}
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 1
Expand Down
45 changes: 21 additions & 24 deletions Assets/Prefabs/BananaMidfielderLine.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ GameObject:
- 4: {fileID: 400000}
- 33: {fileID: 3300000}
- 23: {fileID: 2300000}
- 64: {fileID: 6400000}
- 54: {fileID: 5400000}
- 114: {fileID: 11400002}
- 65: {fileID: 6500004}
m_Layer: 0
m_Name: BottomMidfielder
m_TagString: Untagged
Expand All @@ -30,9 +30,9 @@ GameObject:
- 4: {fileID: 400002}
- 33: {fileID: 3300002}
- 23: {fileID: 2300002}
- 64: {fileID: 6400002}
- 54: {fileID: 5400002}
- 114: {fileID: 11400004}
- 65: {fileID: 6500002}
m_Layer: 0
m_Name: CenterMidfielder
m_TagString: Untagged
Expand All @@ -50,9 +50,9 @@ GameObject:
- 4: {fileID: 400004}
- 33: {fileID: 3300004}
- 23: {fileID: 2300004}
- 64: {fileID: 6400004}
- 54: {fileID: 5400004}
- 114: {fileID: 11400006}
- 65: {fileID: 6500000}
m_Layer: 0
m_Name: TopMidfielder
m_TagString: Untagged
Expand Down Expand Up @@ -120,7 +120,7 @@ Transform:
m_GameObject: {fileID: 100006}
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_LocalScale: {x: 1, y: 1, z: 1.5}
m_Children:
- {fileID: 400004}
- {fileID: 400002}
Expand Down Expand Up @@ -221,7 +221,7 @@ Rigidbody:
m_UseGravity: 0
m_IsKinematic: 1
m_Interpolate: 0
m_Constraints: 88
m_Constraints: 90
m_CollisionDetection: 0
--- !u!54 &5400002
Rigidbody:
Expand All @@ -236,7 +236,7 @@ Rigidbody:
m_UseGravity: 0
m_IsKinematic: 1
m_Interpolate: 0
m_Constraints: 88
m_Constraints: 90
m_CollisionDetection: 0
--- !u!54 &5400004
Rigidbody:
Expand All @@ -251,23 +251,22 @@ Rigidbody:
m_UseGravity: 0
m_IsKinematic: 1
m_Interpolate: 0
m_Constraints: 88
m_Constraints: 90
m_CollisionDetection: 0
--- !u!64 &6400000
MeshCollider:
--- !u!65 &6500000
BoxCollider:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 100000}
m_GameObject: {fileID: 100004}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_SmoothSphereCollisions: 0
m_Convex: 0
m_Mesh: {fileID: 4300000, guid: 2c64ff23c5c96034ea91bb02cf6e2d33, type: 3}
--- !u!64 &6400002
MeshCollider:
m_Size: {x: .391322017, y: .933472991, z: .210206002}
m_Center: {x: 0, y: 0, z: 0}
--- !u!65 &6500002
BoxCollider:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
Expand All @@ -276,22 +275,20 @@ MeshCollider:
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_SmoothSphereCollisions: 0
m_Convex: 0
m_Mesh: {fileID: 4300000, guid: 2c64ff23c5c96034ea91bb02cf6e2d33, type: 3}
--- !u!64 &6400004
MeshCollider:
m_Size: {x: .391322017, y: .933472991, z: .210206002}
m_Center: {x: 0, y: 0, z: 0}
--- !u!65 &6500004
BoxCollider:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 100004}
m_GameObject: {fileID: 100000}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_SmoothSphereCollisions: 0
m_Convex: 0
m_Mesh: {fileID: 4300000, guid: 2c64ff23c5c96034ea91bb02cf6e2d33, type: 3}
m_Size: {x: .391322017, y: .933472991, z: .210206002}
m_Center: {x: 0, y: 0, z: 0}
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 1
Expand Down
13 changes: 6 additions & 7 deletions Assets/Prefabs/FoosballFieldPlayer.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ GameObject:
- 4: {fileID: 400000}
- 33: {fileID: 3300000}
- 23: {fileID: 2300000}
- 64: {fileID: 6400000}
- 54: {fileID: 5400000}
- 114: {fileID: 11400000}
- 65: {fileID: 6500000}
m_Layer: 0
m_Name: FoosballFieldPlayer
m_TagString: Untagged
Expand Down Expand Up @@ -72,10 +72,10 @@ Rigidbody:
m_UseGravity: 0
m_IsKinematic: 1
m_Interpolate: 0
m_Constraints: 88
m_Constraints: 90
m_CollisionDetection: 0
--- !u!64 &6400000
MeshCollider:
--- !u!65 &6500000
BoxCollider:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
Expand All @@ -84,9 +84,8 @@ MeshCollider:
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_SmoothSphereCollisions: 0
m_Convex: 0
m_Mesh: {fileID: 4300000, guid: 85eba9937c1fe6643abb54423fd0f23c, type: 3}
m_Size: {x: .596047997, y: .983438015, z: 2.966856}
m_Center: {x: 0, y: 0, z: 0}
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 1
Expand Down
15 changes: 7 additions & 8 deletions Assets/Prefabs/FoosballPlayerGoalieLine.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ GameObject:
- 4: {fileID: 400000}
- 33: {fileID: 3300000}
- 23: {fileID: 2300000}
- 64: {fileID: 6400000}
- 54: {fileID: 5400000}
- 114: {fileID: 11400000}
- 65: {fileID: 6500000}
m_Layer: 0
m_Name: Goalie
m_TagString: Untagged
Expand Down Expand Up @@ -56,7 +56,7 @@ Transform:
m_GameObject: {fileID: 100002}
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_LocalScale: {x: 1, y: 1, z: 1.29999995}
m_Children:
- {fileID: 400000}
m_Father: {fileID: 0}
Expand Down Expand Up @@ -101,10 +101,10 @@ Rigidbody:
m_UseGravity: 0
m_IsKinematic: 1
m_Interpolate: 0
m_Constraints: 88
m_Constraints: 90
m_CollisionDetection: 0
--- !u!64 &6400000
MeshCollider:
--- !u!65 &6500000
BoxCollider:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
Expand All @@ -113,9 +113,8 @@ MeshCollider:
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_SmoothSphereCollisions: 0
m_Convex: 0
m_Mesh: {fileID: 4300000, guid: 85eba9937c1fe6643abb54423fd0f23c, type: 3}
m_Size: {x: .596047997, y: .983438015, z: 2.966856}
m_Center: {x: 0, y: 0, z: 0}
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 1
Expand Down
Loading

0 comments on commit ac2b1df

Please sign in to comment.