How do I create a smooth homing misile?

Get help using Construct 2

Post » Sun Mar 01, 2015 2:33 am

Here's the file
https://www.dropbox.com/s/tk2udh6cq3era ... .capx?dl=0

Please select the 6th weapon (missile).
Press Spacebar to fire.

I want to make a missile that able to move smoothly creating a circular motion towards target.

Currently my missiles can suddenly make a sharp angle turn.

How can I achieve this?
Thank you
B
10
S
5
Posts: 220
Reputation: 1,464

Post » Sun Mar 01, 2015 3:10 am

Try this out.

The missle now has a cooldown variable so that when its fired it travels forward a little bit before steering.
For the steering itself instead of just setting the angle, it now rotates toward the position by 3 degrees. Check it out and play around with the numbers to suit your preference.
You do not have the required permissions to view the files attached to this post.
ImageImage
B
118
S
23
G
7
Posts: 1,070
Reputation: 12,964

Post » Sun Mar 01, 2015 4:53 am

OH yea, it works as I imagine.
Thank you.
B
10
S
5
Posts: 220
Reputation: 1,464


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 18 guests