Hi everyone!
I’m excited to announce that Pixel Raycaster is finally available on the Unity Asset Store!
Asset Store Link: Pixel Raycaster
Pixel Raycaster is a tool for performing pixel-perfect raycasting. It is designed for scenarios where standard collider-based raycasting accuracy is insufficient, as well as cases requiring fast and detailed raycasting against animated meshes.
The tool supports all types of meshes, including MeshRenderer and SkinnedMeshRenderer, as well as custom geometry sources provided by the developer. Upon a successful hit, Pixel Raycaster provides the hit point in world space, along with associated hit data linked to one or more renderers. The tool’s architecture is optimized for high performance, allowing for hundreds or even thousands of raycasts per frame without significant execution time overhead.
The solution integrates seamlessly into the Unity component system and can be used either as a standard MonoBehaviour or as a standalone C# class for direct calls from code, independent of scene components. This provides architectural flexibility, making the tool suitable for both component-oriented and lower-level or service-based systems.
Pixel Raycaster is compatible with all platforms supported by Unity, making it a versatile choice for various projects and target environments.
Features:
- Perform pixel-perfect raycasting.
- Provides the hit point in world space, along with associated hit data linked.
- Supports all types of meshes: static, animated and custom (including 2D).
- Integrates seamlessly component system or standalone C# class.
- Includes out-of-the-box components and a standalone C# classes covering all features.
- Plug-and-play integration.
- Fully compatible with both legacy and new unity input system.
- Features a flexible event system for hover and button (mouse, keyboard, joystick and etc) states (down, hold, up, click).
- Includes sample scenes for all features.
- Optimized for high performance (hundreds or even thousands of raycasts).
- Extensive documentation for a clear and seamless setup.
- Documentation of access in English, Chinese, Japanese, Korean, and Russian.
- Compatible with all platforms.