mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-09-09 19:05:16 -05:00
Updated player prefabs
they use continuous rigid body now
This commit is contained in:
@@ -343,7 +343,7 @@ Rigidbody:
|
||||
m_IsKinematic: 1
|
||||
m_Interpolate: 0
|
||||
m_Constraints: 0
|
||||
m_CollisionDetection: 0
|
||||
m_CollisionDetection: 3
|
||||
--- !u!136 &3559681995605743320
|
||||
CapsuleCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -438,15 +438,18 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
pStats: {fileID: 0}
|
||||
vel: {x: 0, y: 0, z: 0}
|
||||
driftVel: {x: 0, y: 0, z: 0}
|
||||
curJumpNum: 0
|
||||
lowJumpMultiplier: 0.3
|
||||
fallMultiplier: 1.5
|
||||
g: 0
|
||||
isGrounded: 0
|
||||
groundCheckDistance: 0.05
|
||||
cam: {fileID: 4654986889578046791}
|
||||
minAngle: -30
|
||||
maxAngle: 45
|
||||
sensitivity: 200
|
||||
isSliding: 0
|
||||
--- !u!114 &4788888989419098570
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -474,6 +477,8 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
maxGrappleDistance: 25
|
||||
isGrappled: 0
|
||||
ropeLength: 0
|
||||
--- !u!114 &5784126162129930074
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
@@ -152,15 +152,18 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
pStats: {fileID: 0}
|
||||
vel: {x: 0, y: 0, z: 0}
|
||||
driftVel: {x: 0, y: 0, z: 0}
|
||||
curJumpNum: 0
|
||||
lowJumpMultiplier: 0.3
|
||||
fallMultiplier: 1.5
|
||||
g: 0
|
||||
isGrounded: 0
|
||||
groundCheckDistance: 0.05
|
||||
cam: {fileID: 7188906082643956516}
|
||||
minAngle: -30
|
||||
maxAngle: 45
|
||||
sensitivity: 301
|
||||
isSliding: 0
|
||||
--- !u!114 &273103334658887749
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -224,6 +227,8 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
maxGrappleDistance: 25
|
||||
isGrappled: 0
|
||||
ropeLength: 0
|
||||
--- !u!114 &2356773567935625033
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -265,7 +270,7 @@ Rigidbody:
|
||||
m_IsKinematic: 1
|
||||
m_Interpolate: 0
|
||||
m_Constraints: 0
|
||||
m_CollisionDetection: 0
|
||||
m_CollisionDetection: 3
|
||||
--- !u!136 &3772338269032432186
|
||||
CapsuleCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
@@ -19,6 +19,7 @@ public class Bumper : MonoBehaviour {
|
||||
DirBump = Vector3.Normalize(DirBump);//Normalizes the vector to be used as a bump direction
|
||||
|
||||
playerMovement.GetHit(DirBump, bumpPower);
|
||||
//
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user