changed: changed facing direction into BBParamater

This commit is contained in:
Chris
2025-07-15 17:01:58 -04:00
parent 103ffce69b
commit 9e321677c5
3 changed files with 17 additions and 10 deletions

View File

@@ -5,7 +5,7 @@ using ParadoxNotion;
using ParadoxNotion.Design;
using UnityEngine;
using UnityEngine.InputSystem;
using Reset.Player.Movement;
namespace NodeCanvas.Tasks.Actions {
[Category("Reset/Movement")]
@@ -13,6 +13,8 @@ namespace NodeCanvas.Tasks.Actions {
public BBParameter<float> jumpStrength;
public BBParameter<Vector3> airMoveDirection;
public BBParameter<PlayerFacingDirection> playerFacingDirection;
[Range(0f, 1f)]
public BBParameter<float> standStillJumpStrength;
@@ -58,7 +60,6 @@ namespace NodeCanvas.Tasks.Actions {
// Get the dot product between current velocity's direction and current input (UNUSED FOR NOW)
float velocityInputDot = Vector3.Dot(currentVelocityWorld, currentInputVector3);
// Set air move direction
if (agent.isGrounded) {