changed: changed facing direction into BBParamater
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user