Skip to content

Commit 6488b40

Browse files
committed
Add logging functionality to GrappleGun's RopeStateManager
- Introduced a Logger module for conditional logging, allowing for better debugging and tracking of state changes. - Integrated logging calls throughout RopeStateManager to capture key events, state transitions, and collision checks. - Enhanced the checkAttachmentCollisions method with detailed logs for terrain and MO collision detection. - Added logging for length limit checks and stretch mode applications to monitor grapple behavior. - Implemented various log levels (DEBUG, INFO, WARN, ERROR) to categorize log messages effectively. Enhances GrappleGun debugging and gun tracking Introduces comprehensive logging throughout the GrappleGun modules for improved diagnostics and easier troubleshooting of complex behaviors. This provides detailed tracing of the grapple's lifecycle, including initialization, state transitions, input processing, collision events, and interactions with its parent firearm. The logic for validating and maintaining the grapple's association with the firearm is also significantly refined and thoroughly logged, improving robustness in scenarios such as gun switching or dropping.
1 parent 83d4c6c commit 6488b40

File tree

4 files changed

+1139
-108
lines changed

4 files changed

+1139
-108
lines changed

0 commit comments

Comments
 (0)