Hey, I am trying to get this object to move to “EndPoint”. The code is working, I just don’t want to set the speed it moves at, but the time it takes to reach its destination. Anyone got any ideas of how to fix this? Thank you in advance!
Time and speed are easily interchangeable. You can take the distance to the destination divide it by time you want your object to move and you’ll get the speed your object should move with.
I dont know why I didn't think of this before -.- thanks!
You haven't defined the variable ellapsedTime in the code though and I don't know what I have to put...do you mean timeEllapsed? In this case there is an error in the code.
I dont know why I didn't think of this before -.- thanks!
– BorziLuv u with all of my hearth
– sandorlajos