Bug fixes and scene changes #267
|
@ -8598,6 +8598,7 @@
|
|||
Arm Yaw: 0
|
||||
Arm Length: 1
|
||||
Look At Camera Origin: true
|
||||
Target Offset: {x: 0, y: 0, z: 0}
|
||||
IsActive: true
|
||||
Scripts:
|
||||
- Type: SHADE_Scripting.ThirdPersonCamera
|
||||
|
|
|
@ -45,11 +45,11 @@ public class PlayerController : Script
|
|||
|
||||
//Movement variables============================================================
|
||||
[Tooltip("Max vel for walking")]
|
||||
public float maxMoveVel = 2.0f;
|
||||
public float maxMoveVel = 3.0f;
|
||||
[Tooltip("how much force is apply for walking")]
|
||||
public float moveForce = 2.0f;
|
||||
public float moveForce = 50.0f;
|
||||
[Tooltip("increase the moveForce and maxMoveVel by its amt")]
|
||||
public float sprintMultiplier = 2.0f;
|
||||
public float sprintMultiplier = 1.5f;
|
||||
|
||||
private float oldForce;
|
||||
private float maxOldVel;
|
||||
|
@ -60,15 +60,15 @@ public class PlayerController : Script
|
|||
public bool isMoveKeyPress { get; set; }
|
||||
|
||||
[Tooltip("How fast player will turn")]
|
||||
public float rotationFactorPerFrame = 1.0f;
|
||||
public float rotationFactorPerFrame = 5.0f;
|
||||
|
||||
//Jumping vars==================================================================
|
||||
[Tooltip("max height of the jump")]
|
||||
public float maxJumpHeight = 4.0f;
|
||||
public float maxJumpHeight = 1.0f;
|
||||
[Tooltip("max amt of time it will take for the jump")]
|
||||
public float maxJumpTime = 0.75f;
|
||||
public float maxJumpTime = 0.5f;
|
||||
[Tooltip("increase gravity when falling")]
|
||||
public float fallMultipler = 2.0f;
|
||||
public float fallMultipler = 3.0f;
|
||||
private float initialJumpVel;
|
||||
private bool isGrounded = true;
|
||||
private float gravity = -9.8f;
|
||||
|
|
Loading…
Reference in New Issue