View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0.0
- Last updated
- First released
- Unity version
- 2021.3.42 or later
- Package size
- 2.1 MB
- Files
- 38
- Favorites
- 13
- Views in the past week
- 6
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $12.60 on
Keywords
Shadows Manifestation System
The Shadow Casting System creates interactive shadow colliders, adding realism and dynamic physics-based interactions to enhances visual depth and gameplay mechanics in your project.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 6
Shadows Manifestation System screenshot 1
About this asset
BRING YOUR SHADOWS TO LIFE!!!
The Shadow Casting System dynamically generates 2D colliders for object shadows, allowing them to interact physically with the environment. It works by casting rays from a light source to detect shadow outlines, then constructs accurate colliders using a convex hull algorithm. This system is highly customizable, supporting various 3D objects and lighting setups. It is ideal for puzzle games, platformers, and physics-based mechanics where shadow-based interactions enhance gameplay. By adjusting light settings and object properties, developers can fine-tune the visual and physical behavior of shadows to fit their project's unique style.
This asset uses the Gas Wall Lantern 3D Model by codeinfernogames, the 3D (Mese) Crystal model by rubberduck, the simple 3d props models by DeadKir ,Soccer Ball sprite by gothicfan95, [2D] Wooden Box sprite by
from opengameart.org under the Creative Commons 0 license.
(see Third-Party invoices.txt file in the package for details)
From the publisher's Asset Store listing.
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.
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 2021.3.42f1 | Compatible | Compatible | Compatible | Compatible |
As listed on the Asset Store.