Hey everyone! This is my first post here as I am learning Unity I wanted to create a little game in order to understand it better and learn faster.
The game consists in a bouncy ball on a platform that starts bouncing on the platforms in front of it put in a distance of
0.25 from one another as soon as it gets an input.
I thought that was a very simple game idea until I started having some problems with the bounce/jump.
I made the ball jump the same height using the physics material, but when I try to make it bounce with rhythm so that it falls on the center of the platforms while moving I can’t seam to work it out.
So I tried to use
MoveTowards on collision with the floor giving it its actual position and its actual position +
0,25 on the
This completely brakes the bounce and its curve and is nowhere precise.
How can I give my ball a nice and precise bounce every
0,25 on a specific axis so that does not fall between the platforms?