You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
0 commit comments