Hi there. Im trying to have a series of balls bounce along the screen such that they:
A) bounce to the same height at the apex of each bounce
B) vary the apex height on a per ball basis
C) moves sideways along the screen at a speed of my choosing
D) can later be deflected by a wall object, causing their horizontal speed to be reversed, but otherwise still bounce the same height-wise.
These balls will be instantiated off-screen.
Can anyone tell me how I’d go about doing this? I tried vector3.reflect and saving out velocity during OnTriggerEnter and flipping it, but both methods don’t seem to preserve the bounce apex height.
Thanks in advance
Xander