Bouncy Ball Simulator
By Kaye Ysabel Huet and Philip Samuel
---
A bouncy ball simulator where you can spawn balls, and they will bounce and interact with one another with physics. The force of the bounce can also be altered via. freezing and unfreezing the balls.
---
Controls:
Left-click the ground to spawn a ball
Right-click to make the balls freeze, and right-click to unfreeze
The balls will automatically auto delete themselves after a short while
---
Feature List:
Feature 1 - Spawning System
Balls can be spawned via left-clicking the ground. The raycast is sent from the camera to the ground and once activated a prefab (the ball) is generated slightly above that point so it does not clip into the floor. Multiple balls can be spawned and interact with the environment's physics.
Feature 2 - Runtime Object Behavior
The balls continuously cycle through colors over time, giving the appearance of a "rainbow" effect.
Feature 3 - Secondary Interaction
The balls will stop and freeze in their current position when you right-click. This toggles the rigidbody constraints of each ball, in which its physics can be resumed with another right-click.
Feature 4 - Gameplay Rule/Constraint
Every ball spawned will automatically delete itself after a short period of time. This prevents too many objects from being spawned, allowing for smoother gameplay and encouraging continuous interaction.
| Published | 22 days ago |
| Status | Released |
| Platforms | HTML5 |
| Author | bogmuck |
| Made with | Unity |
| Content | No generative AI was used |

Leave a comment
Log in with itch.io to leave a comment.