Skip to content

1.0.1

Choose a tag to compare

@ENT510 ENT510 released this 08 Nov 19:40
· 7 commits to main since this release
5d6efe1

ref(comp): restructure interaction component

  • Refactored the interaction system to provide more flexibility and ease of use.
  • Updated addInteraction and removeInteraction and other exports for better management.

feat(comp): add new interaction callbacks

  • Introduced nearby, onEnter, and onExit callbacks to enhance interaction responsiveness.
  • Registered the callbacks properly within their respective instances.

chore(comp): update documentation and improve code comments

  • Updated the documentation to align with the new structure and features.
  • Improved inline comments for clarity and easier understanding of the code.

fix(comp): improve performance and interaction logic

  • Refined the debug visuals and optimized distance checks for better performance.
  • Enhanced the canInteract logic for item-based interactions.

A big thank you to @Mesrine67 for their help and valuable suggestions during this update! 🙏