Update
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Collections;
|
||||
using Invector;
|
||||
using OnlyScove.Scripts;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Events;
|
||||
@@ -485,10 +486,7 @@ namespace Invector.vCharacterController
|
||||
|
||||
public virtual void StrafeInput()
|
||||
{
|
||||
if (inputReader != null && inputReader.ConsumeToggleView())
|
||||
{
|
||||
cc.Strafe();
|
||||
}
|
||||
// Removed inputReader.ConsumeToggleView() logic that was incorrectly triggering Strafe
|
||||
}
|
||||
|
||||
public virtual void SprintInput()
|
||||
@@ -610,6 +608,10 @@ namespace Invector.vCharacterController
|
||||
{
|
||||
tpCamera.ChangeState(customCameraState, customlookAtPoint, smoothCameraState);
|
||||
}
|
||||
else if (tpCamera.currentState.cameraMode == TPCameraMode.FirstPerson)
|
||||
{
|
||||
// Do nothing, let FirstPerson mode stay active
|
||||
}
|
||||
else if (cc.isCrouching)
|
||||
{
|
||||
tpCamera.ChangeState("Crouch", true);
|
||||
|
||||
@@ -310,3 +310,30 @@ MonoBehaviour:
|
||||
eulerAngle: {x: 24.449335, y: 135.46579, z: 0.001277386}
|
||||
freeRotation: 1
|
||||
cameraMode: 2
|
||||
- Name: FirstPerson
|
||||
forward: 70
|
||||
right: 0
|
||||
defaultDistance: 0
|
||||
maxDistance: 0
|
||||
minDistance: 0
|
||||
height: 0
|
||||
smooth: 10
|
||||
smoothDamp: 0
|
||||
xMouseSensitivity: 3
|
||||
yMouseSensitivity: 3
|
||||
yMinLimit: -40
|
||||
yMaxLimit: 80
|
||||
xMinLimit: -360
|
||||
xMaxLimit: 360
|
||||
rotationOffSet: {x: 0, y: 0, z: 0}
|
||||
cullingHeight: 0.2
|
||||
cullingMinDist: 0.1
|
||||
fov: 113.1
|
||||
useZoom: 0
|
||||
fixedAngle: {x: 0, y: 0}
|
||||
lookPoints:
|
||||
- pointName: point_01
|
||||
positionPoint: {x: 6.950366, y: 2.8947582, z: -24.111038}
|
||||
eulerAngle: {x: 24.449337, y: 315.46573, z: 0.0012745722}
|
||||
freeRotation: 1
|
||||
cameraMode: 3
|
||||
|
||||
@@ -32,13 +32,13 @@ Material:
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 2800000, guid: db48e0e5caa2999469a4f3aa249c188b, type: 3}
|
||||
m_Texture: {fileID: 2800000, guid: 1ba5636bfdd687347966f548dbf5a0bc, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Ints: []
|
||||
m_Floats: []
|
||||
m_Colors:
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _Color: {r: 8, g: 0, b: 0, a: 1}
|
||||
- _Vector0: {r: 1, g: 1, b: 0, a: 0}
|
||||
m_BuildTextureStacks: []
|
||||
m_AllowLocking: 1
|
||||
|
||||
Reference in New Issue
Block a user