NodotProject / nodot

A video game node library for Godot 4
https://nodotproject.github.io/nodot/
MIT License
329 stars 11 forks source link

Ladder3D #116

Closed krazyjakee closed 1 year ago

krazyjakee commented 1 year ago

Adds a new feature to the project - Ladder3D. This feature allows NodotCharacter3D to climb up and down ladders in the game. The feature consists of two new scripts: CharacterClimb3D and Ladder3D.

The CharacterClimb3D script manages the climb movement of the character and defines how fast the character can climb. It also registers input actions for climbing, descending, and jumping off the ladder.

The Ladder3D script is a node that, when touched, sets the character to the "climb" state. When the character is in the climb state, they can climb up and down the ladder using the input actions defined in CharacterClimb3D.

Overall, this change adds a new and exciting feature to the game, improving the player experience and making the game more enjoyable.

Closes #74