Kanda Interactions 0.7.1
Loading...
Searching...
No Matches
Overview

This package provides a set of fundamental interaction systems that form the basis for entity manipulation and behavior in your projects. These systems are designed to be flexible, efficient, and easy to use, allowing you to create complex interactions with minimal effort.

Core Systems

Interaction System

The Interaction system provides a robust framework for handling relationships between interactors (like VR controllers) and interactable entities. It manages hover detection, activation states, and binding relationships between entities.

For detailed information about the interaction system, see the Interaction System page.

Visual Feedback

The Highlightable system provides visual feedback for interactive elements, with built-in support for outline effects and an extensible architecture for custom highlight implementations.

To learn more about implementing visual feedback, refer to the Highlightable System page.

Moving Objects

The Movable system is the foundation for entity movement in the Kanda SDK. It provides a straightforward way to control the position and rotation of entities, with support for both local and world space transformations, smooth interpolation, and input-driven movement for player-owned NetCode ghosts.

For more information on using Movable, see the Moving Entities page.

Attaching Objects

The Attachable system allows you to create lightweight relationships between entities, enabling them to follow the movement of their "owner" entity.

To learn more about using the Attachable, refer to the Attaching Entities page.

Performance and Flexibility

While these systems provide convenient high-level functionality, they are designed with performance in mind:

  • Components can be enabled/disabled to optimize processing
  • Systems use Burst compilation where possible
  • Buffer capacities are optimized for common use cases
  • Systems support both client prediction and server authority

Getting Started

  1. Add basic interaction components:
    • InteractableAuthoring for objects that can be interacted with
    • PointInteractorAuthoring or RayInteractorAuthoring for interaction sources
  2. Add visual feedback:
    • HighlightableAuthoring and OutlineAuthoring for hover effects
  3. Add behavior components as needed:
    • GrabbableAuthoring for moving entities around

Explore the subpages for each system to learn more about their specific features, usage patterns, and best practices.