Question by
nghiem3456789000 · Nov 18, 2019 at 02:49 AM ·
curve
Move gameobject from fixed position to pointposition following curve
I want to move the obj from the fixed position to the mouse position according to the curve as shown in the illustration. The altitude is the same and the horizontal distance is equal
curve.png
(19.2 kB)
Comment
Need to know more details bro. like how the curve is i mean it always fixed or it would change according to the destination. or it is just moving y position up and down like sin wave to reach it's destination you can use mathf.sin function. take a look into curves also as well(bezeir curve)
Your answer
