The 8 ball pool 3D Controller is a Unity-based controller designed for simulating billiard gameplay in a 3D Top down environment. It offers a range of features to enhance player experience.Key Features:Aiming Control:Players can aim by rotating the cueball using either the mouse or finger input.Camera Views:Provides 3d top-view camera options.UI for switching between camera views.Shooting Control:Slider interface for shooting the cueball with a corresponding text value display above it.Cue Ball Positioning:Allows players to position the cue ball on the table by clicking on the UI element representing the cue ball on the left side.Trajectory Prediction:Displays trajectory lines:Script Customization:Scripts are designed for easy modification, with parameters exposed in the inspector for convenient adjustment.Cue Stick Positioning:Cue stick is automatically positioned behind the cue ball for easy aiming.Customizability:Easily change models and UI elements to customize the appearance of the game.Pocket Triggers:Pockets are equipped with triggers to detect ball entry for triggering features.Turn based Collision Handling:Handles collisions with edges of the table and within the table itself.Line from the cue ball to the hit point.Line predicting the direction of the cue ball after collision.Line predicting the direction of the ball to be hit by the cue ball.Aim Control: This feature enables users to control the direction of their shots using mouse or touch input. It involves implementing raycasting to determine the target point on the billiard table based on the user's input.Multiple Camera Views: 3d top-down view. It involves setting up multiple camera.Ball Positioning: This feature enables players to move the cue ball and other balls on the billiard table to desired positions. It requires implementing logic to detect user input for selecting and dragging balls, as well as updating their positions accordingly.Slider-based Cue Ball Shooting: This feature provides players with a slider interface to adjust the force and power of their cue ball shots. It requires implementing UI elements for the slider and linking its value to the force applied to the cue ball upon shooting.Trajectory line prediction : This feature involves predicting the trajectory of the cue ball and target balls to aid players in aiming their shots accurately. It requires calculating the path of the balls based on their initial positions, velocities, and collisions with other balls or table boundaries. The trajectory lines are drawn on the billiard table to provide visual feedback to the player, helping them plan their shots effectively. This feature enhances gameplay by assisting players in understanding the physics of ball movement and making strategic decisions during gameplay.Turn Based Game each time a turn is finished the other player will win




