Hello,
When designing the behaviour of the paddle I got an idea.
At the moment (in the course) the ball hits the paddle in always the same way. It hits and will be redirected (action = reaction) with always the same offset that Ben gave it in the script.
I thought what about having a paddle that redirects the ball
-0.5x when hit in the left 33percent of the paddle.
0x when hit in the middle 33 percent of the paddle.
+0.5x when hit in the right 33 percent of the paddle.
could I do this with setting up multiple colliders for the paddle GameObject or should i layer 3 GameObjects on top of each other?
Ps: As a bonus idea I also thought about making the paddle a trapeze to get the same kind of effect but i don’t know if can do that with a box collider (i should also make a new sprite if i proceed in this idea).
thanks for reading.