-
Notifications
You must be signed in to change notification settings - Fork 20
Commit 9b4a8f0
committed
Implement Grapple Gun Enhancements
- Added unhook functionality to the Grapple Gun's pie menu, allowing players to unhook only if the grapple claw can release.
- Introduced a new icon for the unhook action in the pie menu.
- Created a comprehensive RopeInputController to manage user input for rope length control, including shift + mouse wheel functionality and double-tap detection for unhooking.
- Developed a RopePhysics module to handle the physics simulation of the rope, including collision resolution, segment management, and tension calculations.
- Implemented a RopeRenderer module for visualizing the rope, including segment drawing based on tension and a tension indicator above the player.
- Added a RopeStateManager to manage the state transitions and physics effects based on the grapple's state, including attachment detection and length limits.
Enhance Grapple Gun with modular design and improved mechanics
Refactors the grapple gun by introducing dedicated modules for rope physics, rendering, input control, and state management. This modular approach improves code organization and facilitates more advanced rope behaviors.
Key improvements include:
- A new physics simulation for the rope, featuring dynamic segmentation, collision resolution, and tension calculations.
- Enhanced user input options, such as shift + mouse wheel for adjusting rope length and a double-tap mechanic for unhooking.
- Visual upgrades to the rope, including segment-based drawing that reflects tension and an on-screen tension indicator.
- An updated pie menu with an unhook action, which is only available when the grapple claw can be released.
- Adjustments to grapple parameters like maximum length and climb speed to refine gameplay.
Enhances Grapple Gun with modularity and improved mechanics
Refactors the grapple gun by introducing dedicated modules for rope physics, rendering, input control, and state management.
This modular approach enables:
- Advanced rope physics with dynamic segmentation, collision resolution, and tension calculations.
- Enhanced input options, including shift + mouse wheel for rope length adjustment and double-tap to unhook.
- Improved visual feedback with tension-based rope rendering and an on-screen indicator.
- A pie menu unhook action that is conditional on the grapple's ability to release.
- Adjustments to grapple parameters, such as maximum length and climb speed, to refine gameplay.1 parent a5abad0 commit 9b4a8f0Copy full SHA for 9b4a8f0
File tree
Expand file treeCollapse file tree
7 files changed
+1336
-517
lines changedFilter options
- Data/Base.rte/Devices/Tools/GrappleGun
- PieIcons
- Scripts
Expand file treeCollapse file tree
7 files changed
+1336
-517
lines changed
0 commit comments