Skip to content

Commit

Permalink
Correct Layer Matrix & Phisics Settings
Browse files Browse the repository at this point in the history
This changes the Physics settings on the project, to match the game's settings for physics, for more accurate results.
  • Loading branch information
ChrisFeline authored Jan 6, 2024
1 parent de271b1 commit ed48f3a
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions ProjectSettings/DynamicsManager.asset
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,26 @@
--- !u!55 &1
PhysicsManager:
m_ObjectHideFlags: 0
serializedVersion: 13
m_Gravity: {x: 0, y: -9.81, z: 0}
serializedVersion: 14
m_Gravity: {x: 0, y: -32, z: 0}
m_DefaultMaterial: {fileID: 0}
m_BounceThreshold: 2
m_DefaultMaxDepenetrationVelocity: 10
m_SleepThreshold: 0.005
m_DefaultContactOffset: 0.01
m_DefaultSolverIterations: 6
m_DefaultSolverVelocityIterations: 1
m_DefaultSolverIterations: 16
m_DefaultSolverVelocityIterations: 2
m_QueriesHitBackfaces: 0
m_QueriesHitTriggers: 1
m_EnableAdaptiveForce: 0
m_ClothInterCollisionDistance: 0.1
m_ClothInterCollisionStiffness: 0.2
m_ClothInterCollisionDistance: 0
m_ClothInterCollisionStiffness: 0
m_ContactsGeneration: 1
m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
m_AutoSimulation: 1
m_LayerCollisionMatrix: ff7bbbf7ff7bbbf7ff7bbbf7372babf3ff7bbbf7ff7bbbf7f76babf7f77bbbf7ff7bbbf7ff7babf7000000f4ff7bbbf7b77babf7ff7bbbf7f73b00f7000000f7ff3bbbf7ff3bbbf70000a8f7ff3baff7b729b3f3ff3bbff7000080f7ff3bfff7fffbfff7fffbfff7f7ffeff7000000f0ffffffffffffffffffffffffffffffff
m_SimulationMode: 0
m_AutoSyncTransforms: 0
m_ReuseCollisionCallbacks: 0
m_ReuseCollisionCallbacks: 1
m_InvokeCollisionCallbacks: 1
m_ClothInterCollisionSettingsToggle: 0
m_ClothGravity: {x: 0, y: -9.81, z: 0}
m_ContactPairsMode: 0
Expand All @@ -32,5 +34,6 @@ PhysicsManager:
m_FrictionType: 0
m_EnableEnhancedDeterminism: 0
m_EnableUnifiedHeightmaps: 1
m_ImprovedPatchFriction: 0
m_SolverType: 0
m_DefaultMaxAngularSpeed: 50
m_DefaultMaxAngularSpeed: 7

0 comments on commit ed48f3a

Please sign in to comment.