Caroom Controller 3d
The Carrom Game Controller offers an intuitive interface for aiming, shooting, and positioning a striker in Unity. With responsive controls and real-time feedback.
by Grafikgames
Price History +
The Carrom Controller package provides a comprehensive set of scripts to simulate a carrom game in Unity. It includes functionalities for piece spawning, striker control, scoring, and collision handling, offering an engaging and realistic gameplay experience.
Key Components:
- Piece Management:Spawn.cs:
Handles the spawning of carrom pieces in a circular formation at the beginning of the game. Pieces alternate between black and white, with customizable count and radius. - Striker Control:Stricker.cs:
Manages the movement, aiming, and shooting mechanics of the striker. It includes drag-and-aim functionality, force calculation based on input, and visual feedback using LineRenderers. The striker can also be repositioned using a UI slider for precise aiming. - Scoring System:ScoreManager.cs:
Tracks and updates the scores for black and white pieces. It integrates with the UI (TextMeshPro) to display current scores and provides methods to increment scores when pieces are pocketed. - Pocket Detection:PocketTrigger.cs:
Detects when pieces enter pockets and updates the score accordingly. Pocketed pieces are deactivated to simulate removal from the board.
Main Features:
- Realistic Physics: Implements accurate force application and collision detection to mimic real carrom gameplay.
- Interactive UI: Displays scoring and shot force in real-time, enhancing player feedback.
- Customizable Gameplay: Adjustable parameters for piece count, spawn formation, shot force, and striker positioning.
- Visual Feedback: Uses LineRenderers to show aim direction and shot strength, ensuring clear player guidance.
Ideal Use Cases:
- Carrom or board game simulators.
- Unity asset store projects for table game enthusiasts.
- Customizable foundation for creating advanced tabletop or physics-based games.