Skip to content

Commit

Permalink
fixed physics bug
Browse files Browse the repository at this point in the history
  • Loading branch information
francescaguzzi committed Dec 26, 2023
1 parent 1288dc3 commit 69dfbdd
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 18 deletions.
17 changes: 8 additions & 9 deletions Assets/Scenes/Multiplayer.unity
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,10 @@ Rigidbody2D:
m_Simulated: 1
m_UseFullKinematicContacts: 1
m_UseAutoMass: 1
m_Mass: 16.584732
m_Mass: 221.12976
m_LinearDrag: 0
m_AngularDrag: 0.05
m_GravityScale: 1
m_AngularDrag: 0
m_GravityScale: 0
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
Expand All @@ -260,7 +260,7 @@ BoxCollider2D:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 179572954}
m_Enabled: 1
m_Density: 3
m_Density: 40
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
Expand Down Expand Up @@ -458,7 +458,6 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: cad969c728eb5774eaa22cb1b734c686, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: 350
--- !u!1 &416164715
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -1206,10 +1205,10 @@ Rigidbody2D:
m_Simulated: 1
m_UseFullKinematicContacts: 1
m_UseAutoMass: 1
m_Mass: 16.584732
m_Mass: 221.12976
m_LinearDrag: 0
m_AngularDrag: 0.05
m_GravityScale: 1
m_AngularDrag: 0
m_GravityScale: 0
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
Expand All @@ -1229,7 +1228,7 @@ BoxCollider2D:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 806638019}
m_Enabled: 1
m_Density: 3
m_Density: 40
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
Expand Down
17 changes: 8 additions & 9 deletions Assets/Scenes/SinglePlayer.unity
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,10 @@ Rigidbody2D:
m_Simulated: 1
m_UseFullKinematicContacts: 1
m_UseAutoMass: 1
m_Mass: 16.584732
m_Mass: 221.12976
m_LinearDrag: 0
m_AngularDrag: 0.05
m_GravityScale: 1
m_AngularDrag: 0
m_GravityScale: 0
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
Expand All @@ -260,7 +260,7 @@ BoxCollider2D:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 179572954}
m_Enabled: 1
m_Density: 3
m_Density: 40
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
Expand Down Expand Up @@ -534,7 +534,6 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: cad969c728eb5774eaa22cb1b734c686, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: 350
--- !u!1 &434903135
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -1206,10 +1205,10 @@ Rigidbody2D:
m_Simulated: 1
m_UseFullKinematicContacts: 1
m_UseAutoMass: 1
m_Mass: 16.584732
m_Mass: 221.12976
m_LinearDrag: 0
m_AngularDrag: 0.05
m_GravityScale: 1
m_AngularDrag: 0
m_GravityScale: 0
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
Expand All @@ -1229,7 +1228,7 @@ BoxCollider2D:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 806638019}
m_Enabled: 1
m_Density: 3
m_Density: 40
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
Expand Down

0 comments on commit 69dfbdd

Please sign in to comment.