Last updated
Last updated
The WallMovementVariables
class is responsible for managing the variables related to wall movement mechanics in the game. It contains several nested classes, each representing a specific type of wall movement: WallSlideVariables
, WallGrabVariables
, WallClimbVariables
, and WallJumpVariables
. These classes define the parameters for each wall movement type, allowing for customization of the movement mechanics.
WallSlideVariables
class handles the variables for wall sliding, such as the facing direction when sliding, maximum speed, and various curves for controlling the speed up, slow down, and turn back during the wall slide.
WallGrabVariables
class deals with the variables for wall grabbing, including a curve for controlling the slow down and the time it takes for the slow down to happen.
WallClimbVariables
class manages the variables for wall climbing, similar to the WallSlideVariables
class but specifically for climbing. It contains the maximum climbing speed and curves for controlling the speed up, slow down, and turn back during wall climbing.
WallJumpVariables
class is responsible for the variables related to wall jumping, such as maximum height, jump height curve, jump time, and jump velocity curve. It also includes variables for controlling the horizontal movement, damping, and turning back during the wall jump.