chore: added a drawable circle script to add a visual flare to the trail by making it look disconnected from the ball

This commit is contained in:
2026-03-31 23:34:20 +03:00
parent e9651b7317
commit 7931298615
2 changed files with 35 additions and 0 deletions

View File

@@ -81,6 +81,7 @@ public static class PongUniverse
.BehaviourController.AddBehaviour<Transform2D>().SetTransform(position: new Vector2D(0, 0f), scale: new Vector2D(10f, 10f))
.BehaviourController.AddBehaviour<DrawableColliderCircle>(new Circle(Vector2D.Zero, 1f))
.BehaviourController.AddBehaviour<Ball>()
.BehaviourController.AddBehaviour<DrawableCircle>(new Circle(Vector2D.Zero, 2.5f), new ColorRGBA(35, 20, 35))
.BehaviourController.AddBehaviour<BallTrail>()
.BehaviourController.AddBehaviour<RigidBody2D>();