Accelerate towards predictive target position?

Get help using Construct 2

Post » Fri Jan 15, 2016 4:05 pm

I have an object with a custom movement. I'm having it accelerate towards another objects position (which is moving in a fixed path), except by the time it arrives, the other object has already moved, and it misses it's mark. I want to somehow calculate predicatively where it should arrive by adding some distance pixels onto the mark in the direction/speed that target object is moving. What sort of expression might I use for this?
B
41
S
12
G
14
Posts: 1,117
Reputation: 11,248

Post » Fri Jan 15, 2016 5:38 pm

Sorry, I missed a load of search articles, just put in the right keyword :oops: : how-do-i-do-predictive-aiming-without-the-turret-behavior_t112272
B
41
S
12
G
14
Posts: 1,117
Reputation: 11,248


Return to How do I....?

Who is online

Users browsing this forum: Darknessed and 1 guest