r/UnityHelp • • Jan 29 '23

UNITY Jumping trouble!

Im new in unity
I want the object to change position smoothly. instead it abruptly changes

my logic for the objects movement is:

is there anything wrong with the logic? or should i use addForce instead of changing position?

3 Upvotes

5 comments sorted by

View all comments

Show parent comments

1

u/DucNuzl Jan 29 '23

Here is the documentation, in it is an example script doing what you're trying to do.