Interactive Shadow System
Enhance gameplay mechanics and visual depth with dynamic, physics-based shadow interactions.

* This page contains affiliate links, meaning we may earn a small commission if you purchase something through them, at no extra cost. $14.99
- Category:
- Tools › Physics
- Developer:
- YAHYA.BK
- Price:
- $14.99
- Favorites:
- 5
- Supported Unity Versions:
- 2021.3.42 or higher
- Current Version:
- 1.0.0
- Download Size:
- 2.11 MB
- Last Update:
- Feb 24, 2025
- Description:
- The Interactive Shadow System generates 2D colliders for object shadows, allowing them to interact physically with the environment. It uses a raycasting system to detect shadow outlines and a convex hull algorithm to create accurate colliders. This system is highly customizable, supporting various 3D objects and lighting setups. It's ideal for puzzle games, platformers, and physics-based mechanics where shadow-based interactions enhance gameplay. Adjust light settings and object properties to fine-tune the visual and physical behavior of shadows to fit your project's unique style.
- Technical Details:
- Dynamic Shadow Colliders: Generates real-time 2D colliders for shadows based on object geometry.
Raycasting System: Casts rays from the light source to detect shadow outlines on the wall.
Convex Hull Algorithm: Calculates the perimeter of the shadow to create an accurate collider.
Real-time Updates: Recalculates shadows when the light source or objects move.
Customizable Light Behavior: Toggle light on/off and adjust shadow properties.
Optimized Performance: Uses Unity's Mesh API and NativeArray for efficient vertex processing.
Easy Integration: Works with any convex 3D object and supports custom light setups. - Continue »