https://github.com/kahlery/golf-box-unity3d
⛳️ unity client: ball game project. The game involves controlling a ball using a stick to navigate through various stages. The repository contains all the necessary scripts, assets, and configurations to run and build the game.
https://github.com/kahlery/golf-box-unity3d
game-development quaternion unity
Last synced: about 2 months ago
JSON representation
⛳️ unity client: ball game project. The game involves controlling a ball using a stick to navigate through various stages. The repository contains all the necessary scripts, assets, and configurations to run and build the game.
- Host: GitHub
- URL: https://github.com/kahlery/golf-box-unity3d
- Owner: kahlery
- Created: 2023-07-20T13:17:44.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-07-20T13:33:53.000Z (almost 3 years ago)
- Last Synced: 2025-11-30T20:18:28.455Z (7 months ago)
- Topics: game-development, quaternion, unity
- Language: C#
- Homepage:
- Size: 15.5 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Golf Box
# Unity Ball Game Project
Firstly I want to note that that is one of my first projects. There is no managers, a clean coding mentality and project file structuring :D
This repository contains a simple ball game project built with Unity. The game involves controlling a ball using a stick to navigate through different stages. The project consists of several scripts and game objects to handle various functionalities.
## How to Play
1. Launch the game.
2. Use the slider to control the stick's angle.
3. Release the slider to hit the ball.
4. The ball should navigate through the stage until it collides with the target object.
5. Upon collision, the game will load the next stage.
## Script Summaries
### BallVelocityHandler.cs
- Handles the ball's velocity and stick placement.
- Stops the ball and positions the stick after a specific time.
### FallDetector.cs
- Detects when the ball falls.
- Resets the ball's position and rotation upon falling.
### FollowTheDamnBallCJ.cs
- Makes an object follow the ball's position.
### HitWithHandle.cs
- Controls the stick's behavior, including the hit response and stick rotation.
- Allows the player to hit the ball with different force using a slider.
### LookAround.cs
- Enables the player to look around using touch input.
### Scenes.cs
- Loads the next stage when the ball collides with the target object.
## Media


