I developed the old game “Pong”, the first table tennis table (https://www.youtube.com/watch?v=fiShX2pTz9A).
I’d like to make the game a little more dynamic.
I tried to simulate a friction on the rackets:
physics.addBody (Racket, “static”, {friction = 1, bounce = 1})
gave some results but not much. Friction suddenly slows the ball down without doing much else.
I would like to be able to create effects with rackets: if the racket hits the ball on the corner, the physical motor makes it bounce off the corner.
But I would like something more: I would handle the ends of the racket to create effects (a greater thrust, or a greater speed). Or create cutting effects on the ball by rubbing the racket on the ball.
I have no idea how to divide part of the racket in order to create different effects or manage a rubbing.
Anyone have any idea?
thanks
Renato