This is my event:
How can I loop it so that goes from Origin to Destination back to Origin, and so on?
I know the variables work, because if I only use one of those, the object travels from it's current position to the variable coordinates.
Wendigo wrote:You could also use the "Lerp" expression (linear interpolation) for movement between two points. Unfortunately the description of the function doesn't tell very much. It takes three arguments:
1. Start point
2. End point
3. Percentage between the two points (0.0 - 1.0 where 0.5 is right in the middle between the two points)
Should be easier to calculate than using forces.
I can't find any movement/position conditions that take those three arguments
Lizard-13 wrote:I have an example here using the lerp function to move back and forward between two points:
Hope it helps
If I assign an action to press the key of a number[…]
Oui, montre nous une capture d'ecran, ce sera mieu[…]
Hi I am having a lot of trouble having to go in an[…]
Seventh Screeny! Its already Christmas and the shi[…]
Hello! Hiscore system work fine, but always reset[…]
I've deleted the duplicate, check the platform tem[…]
Alright i got it now,thanks guys,also didnt expect[…]
cool ! merci !
salut, 1/ change de navigateur 2/ sauvegarde ta v[…]
Aaah tu vas tellement vite, merci beaucoup :mrgree[…]
I've had another play around with the timers, and […]
Thanks for the feedback! The search is quite "[…]
I put up a crude, but working, example in this thr[…]
New Tutorial/Example: Dead Animation Using Body P[…]
And how the "Level1-Tutorial" scene eve[…]
That is no surprise, because "Rotate towards […]
The only reason to check that code is to debug an […]
Ok so I have been trying everything I can think of[…]
Sorry, I was using an unstable build version, I've[…]