I have some problems in DoJump.
As in picture problem.jpg (Attachment) I would like to "jump" my object in "green route" from red square to blue square (Tilebased game, with kinematic objects no physics)
Anyways object seems to always jump as "purple route" to zero y.. It jumps to zero y even I am in for example coordinates 100,100... X-axis seems work well.
I use:
float jumpPower = 1f;
transform.DOJump(end, jumpPower, 1, 0.25f);
If I chance jumpPower to 0.1f or 100f object still jumps to zero y.
I have also tried DOLocalJump().. same problem there.
Any idea what is wrong?