ok so this is where I am at...
What is the velocity after the bounce? Use the COR:
vi=(COR)(vf)So this is the initial velocity of the second bounce. How high does it get? Again use the conservation of energy, but the other way around:
12mv2=mgh⟹h0=v2i/2gThis is how high up the second bounce...
oh ye forgot to mention my axis is inverted but i understand what you meant :) the ball now bounces up and gets a lower bounce height until it comes to a stop but its speed of how it moves is always the same... how do you make it go slower on the bounce back up?
ahh I am confused... ok so let me change it around
velocity = force + gravity * (Mathf.Pow(Time.time,2))
so when ball is in air to start it has no force only gravity...
when it hits the floor i get the velocity
downVelocity = Mathf.Sqrt((2 * (9.8 * startingHeight)))
then i work out the new...
so say I am imitating a tennis ball the COR is roughly 0.75 (going on what someone wrote in other thread)
i think my problem maybe i apply gravity in beginning but never add a force(if any) so when it hits the floor how does the new velocity alter the speed in which it bounces back up?
hi all, ok i read another post from this forum about the bouncing ball but i didnt want to start asking questions when i never made the thread
ok so I am programming a program that starts with a ball in the air and it will automatically start to fall here is a simplified look at my code to...