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);
|
||||
|
||||
Reference in New Issue
Block a user