Best way to make an object move a distance at an angle...

Discussion and feedback on Construct 2

Post » Sat Jan 03, 2015 10:06 pm

...that preferably doesn't require revisiting that object each tick to make it keep moving or to make it stop. Basically, I want a method where I can say "This object, move to these coordinates, at this speed, and then stop." Then I don't have to do anything else, I just know that the object is going to go to it's destination and stop without being checked on each tick.
What would be the best way to do this? I'd like to make it into a function, preferably- call the function and pass the UID, X, Y, Speed and then not worry about it. Bonus points to implement acceleration into it.
B
11
S
4
G
1
Posts: 159
Reputation: 1,803

Post » Sun Jan 04, 2015 12:05 am

B
21
S
5
Posts: 195
Reputation: 1,972

Post » Sun Jan 04, 2015 1:25 am

Interesting. but I kinda already came up with a solution this afternoon and it's working good. I was hoping for something that doesn't involve a third party. Guess the fact that someone made this means it ain't available in vanilla C2.
B
11
S
4
G
1
Posts: 159
Reputation: 1,803


Return to Construct 2 General

Who is online

Users browsing this forum: jakezinis, R0J0hound and 7 guests