Added basic jump mechanic for slimes and prevention from going over the border, added tile hiding to increase performance

This commit is contained in:
finnchen123
2025-11-16 20:56:51 +01:00
parent c00a01c8d6
commit a8cca74fc4
10 changed files with 136 additions and 33 deletions

View File

@@ -116,10 +116,10 @@ Rigidbody:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7849292920502973565}
serializedVersion: 4
serializedVersion: 5
m_Mass: 1
m_Drag: 0
m_AngularDrag: 0.05
m_LinearDamping: 0
m_AngularDamping: 0.05
m_CenterOfMass: {x: 0, y: 0, z: 0}
m_InertiaTensor: {x: 1, y: 1, z: 1}
m_InertiaRotation: {x: 0, y: 0, z: 0, w: 1}
@@ -134,7 +134,7 @@ Rigidbody:
m_UseGravity: 1
m_IsKinematic: 0
m_Interpolate: 0
m_Constraints: 122
m_Constraints: 112
m_CollisionDetection: 0
--- !u!114 &525370201721428245
MonoBehaviour: