I’m doing a break-out type game. I have a paddle and a ball. The ball has a RigidBody component. At the start of the game, a force is applied to the RigidBody once to make the ball start moving. Gravity is disabled, the ball is given a bouncy physics Material of 1, and all friction is removed. This allows the ball to bounce off of walls and the paddle without losing any speed.
Now I want the ball to change direction when it hits the paddle. What would be the best way to accomplish this? If I add more force, then the ball will start moving faster than it currently is already, and want to preserve the movement speed and only change the direction. How can this be accomplished?
Thanks for any advice!